Fix trigger drop procedure
authorAlvaro Herrera
Sun, 10 Feb 2019 13:00:11 +0000 (10:00 -0300)
committerAlvaro Herrera
Sun, 10 Feb 2019 13:00:11 +0000 (10:00 -0300)
commitcc126b45ea5c5e408b01ff4fb09a974450e11025
tree35ce6bd34bb9c79efeae23d459679d222187b4ca
parentee6370978fd921c22ec8bf2239ad4d30ae126fed
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