postgreSQL dump and restore partitioned table (w/ insert trigger) from one server to another
- 阅读更多 关于 postgreSQL dump and restore partitioned table (w/ insert trigger) from one server to another
问题 Trying to dump a partitioned table from one server to another in PostgreSQL (9.4.5). Fairly new to postgres, and inherited the project, please let me know if more background info is needed. dbname=> SELECT COUNT (id) FROM parent_table_to_copy; count -------- 499992 (1 row) parent_table_to_copy has a trigger: parent_table_to_copy_trigger BEFORE INSERT ON parent_table_to_copy FOR EACH ROW EXECUTE PROCEDURE parent_table_to_copy_function() Maybe not important, but the function is a series of