File tree Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Expand file tree Collapse file tree 3 files changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -164,6 +164,10 @@ ALTER DATABASE <replaceable class="PARAMETER">name</replaceable> RESET ALL
164164 <para>
165165 The new default tablespace of the database.
166166 </para>
167+
168+ <para>
169+ This form of the command cannot be executed inside a transaction block.
170+ </para>
167171 </listitem>
168172 </varlistentry>
169173
Original file line number Diff line number Diff line change @@ -48,11 +48,6 @@ CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceabl
4848 subscription at the commit of the transaction where this command is run.
4949 </para>
5050
51- <para>
52- <command>CREATE SUBSCRIPTION</command> cannot be executed inside a
53- transaction block when the parameter <literal>create_slot</literal> is specified.
54- </para>
55-
5651 <para>
5752 Additional info about subscriptions and logical replication as a whole
5853 can is available at <xref linkend="logical-replication-subscription"> and
@@ -227,6 +222,11 @@ CREATE SUBSCRIPTION <replaceable class="PARAMETER">subscription_name</replaceabl
227222 publication instance.
228223 </para>
229224
225+ <para>
226+ When creating a replication slot (the default behavior), <command>CREATE
227+ SUBSCRIPTION</command> cannot be executed inside a transaction block.
228+ </para>
229+
230230 <para>
231231 Creating a subscription that connects to the same database cluster (for
232232 example, to replicate between databases in the same cluster or to replicate
Original file line number Diff line number Diff line change @@ -93,6 +93,11 @@ DROP SUBSCRIPTION [ IF EXISTS ] <replaceable class="parameter">name</replaceable
9393 reserve WAL and might eventually cause the disk to fill up. See
9494 also <xref linkend="logical-replication-subscription-slot">.
9595 </para>
96+
97+ <para>
98+ If a subscription is associated with a replication slot, then <command>DROP
99+ SUBSCRIPTION</command> cannot be executed inside a transaction block.
100+ </para>
96101 </refsect1>
97102
98103 <refsect1>
You can’t perform that action at this time.
0 commit comments