diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2017-03-03 23:25:34 -0500 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2017-03-03 23:29:13 -0500 |
commit | 272adf4f9cd67df323ae57ff3dee238b649d3b73 (patch) | |
tree | cc7f778f7a2cb49ed7f3dcf46eefb61e1aece4a4 /doc/src/sgml/ref/drop_subscription.sgml | |
parent | 347302730dc3092143ccbc1c29b47ac3354f924b (diff) | |
download | postgresql-272adf4f9cd67df323ae57ff3dee238b649d3b73.tar.gz postgresql-272adf4f9cd67df323ae57ff3dee238b649d3b73.zip |
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>
Diffstat (limited to 'doc/src/sgml/ref/drop_subscription.sgml')
-rw-r--r-- | doc/src/sgml/ref/drop_subscription.sgml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/src/sgml/ref/drop_subscription.sgml b/doc/src/sgml/ref/drop_subscription.sgml index 9f2fb93275c..4228f1a2533 100644 --- a/doc/src/sgml/ref/drop_subscription.sgml +++ b/doc/src/sgml/ref/drop_subscription.sgml @@ -38,8 +38,8 @@ DROP SUBSCRIPTION [ IF EXISTS ] <replaceable class="parameter">name</replaceable </para> <para> - The replication worker associated with the subscription will not stop until - after the transaction that issued this command has committed. + <command>DROP SUBSCRIPTION</command> cannot be executed inside a + transaction block when <literal>DROP SLOT</literal> is specified. </para> </refsect1> |