Skip to content

Instantly share code, notes, and snippets.

@vincentdesmares
Created May 11, 2017 22:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vincentdesmares/c159eae09d134a193f42de230d283b5f to your computer and use it in GitHub Desktop.
Save vincentdesmares/c159eae09d134a193f42de230d283b5f to your computer and use it in GitHub Desktop.
CREATE TRIGGER tablename_insert_trigger
BEFORE INSERT ON tablename_wtih_partition
FOR EACH ROW EXECUTE PROCEDURE create_partition_and_insert();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment