]> granicus.if.org Git - postgresql/commit
Disallow CREATE/DROP SUBSCRIPTION in transaction block
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 4 Mar 2017 04:25:34 +0000 (23:25 -0500)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 4 Mar 2017 04:29:13 +0000 (23:29 -0500)
commit272adf4f9cd67df323ae57ff3dee238b649d3b73
treecc7f778f7a2cb49ed7f3dcf46eefb61e1aece4a4
parent347302730dc3092143ccbc1c29b47ac3354f924b
Disallow CREATE/DROP SUBSCRIPTION in transaction block

Disallow CREATE SUBSCRIPTION and DROP SUBSCRIPTION in a transaction
block when the replication slot is to be created or dropped, since that
cannot be rolled back.

based on patch by Masahiko Sawada <sawada.mshk@gmail.com>
doc/src/sgml/ref/create_subscription.sgml
doc/src/sgml/ref/drop_subscription.sgml
src/backend/commands/subscriptioncmds.c
src/backend/tcop/utility.c
src/include/commands/subscriptioncmds.h
src/test/regress/expected/subscription.out
src/test/regress/sql/subscription.sql