aboutsummaryrefslogtreecommitdiff
path: root/src/backend/commands/trigger.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2017-05-09 10:20:42 -0400
committerPeter Eisentraut <peter_e@gmx.net>2017-05-09 10:20:42 -0400
commit013c1178fd0adefa0f68d5ce2d84e7ae6f9613a1 (patch)
treec1d81aeda68bec07b67c317617b40cbc8ea2e925 /src/backend/commands/trigger.c
parentc4c493fd3581dfbce45e903b87e12eea508f47e4 (diff)
downloadpostgresql-013c1178fd0adefa0f68d5ce2d84e7ae6f9613a1.tar.gz
postgresql-013c1178fd0adefa0f68d5ce2d84e7ae6f9613a1.zip
Remove the NODROP SLOT option from DROP SUBSCRIPTION
It turned out this approach had problems, because a DROP command should not have any options other than CASCADE and RESTRICT. Instead, always attempt to drop the slot if there is one configured, but also add an ALTER SUBSCRIPTION action to set the slot to NONE. Author: Petr Jelinek <petr.jelinek@2ndquadrant.com> Reported-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://www.postgresql.org/message-id/29431.1493730652@sss.pgh.pa.us
Diffstat (limited to 'src/backend/commands/trigger.c')
0 files changed, 0 insertions, 0 deletions