pgsql: Create action triggers when partitions are detached

2019-01-21 Thread Alvaro Herrera
Create action triggers when partitions are detached Detaching a partition from a partitioned table that's constrained by foreign keys requires additional action triggers on the referenced side; otherwise, DELETE/UPDATE actions there fail to notice rows in the table that was partition, and so are i

pgsql: Create action triggers when partitions are detached

2019-01-21 Thread Alvaro Herrera
Create action triggers when partitions are detached Detaching a partition from a partitioned table that's constrained by foreign keys requires additional action triggers on the referenced side; otherwise, DELETE/UPDATE actions there fail to notice rows in the table that was partition, and so are i