Skip to content

Instantly share code, notes, and snippets.

@vincentdesmares
Created May 11, 2017 22:59
Show Gist options
  • 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