]> granicus.if.org Git - postgresql/commit
Fix trigger drop procedure
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Sun, 10 Feb 2019 13:00:11 +0000 (10:00 -0300)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Sun, 10 Feb 2019 13:00:11 +0000 (10:00 -0300)
commitcb90de1aac18f8d9d89af8a3c2286aa0691c8214
tree4a6909ae6c818877c1220bd9ae989c0ce061727a
parent068503c76511cdb0080bab689662a20e86b9c845
Fix trigger drop procedure

After commit 123cc697a8eb, we remove redundant FK action triggers during
partition ATTACH by merely deleting the catalog tuple, but that's wrong:
it should use performDeletion() instead.  Repair, and make the comments
more explicit.

Per code review from Tom Lane.

Discussion: https://postgr.es/m/18885.1549642539@sss.pgh.pa.us
src/backend/commands/tablecmds.c