Mainly covering the new CREATE SUBSCRIPTION and DROP SUBSCRIPTION, but
ALTER DATABASE SET TABLESPACE was also missing.
The new default tablespace of the database.
+
+ This form of the command cannot be executed inside a transaction block.
+
subscription at the commit of the transaction where this command is run.
- CREATE SUBSCRIPTION cannot be executed inside a
- transaction block when the parameter create_slot is specified.
-
-
Additional info about subscriptions and logical replication as a whole
can is available at and
publication instance.
+ When creating a replication slot (the default behavior), CREATE
+ SUBSCRIPTION cannot be executed inside a transaction block.
+
+
Creating a subscription that connects to the same database cluster (for
example, to replicate between databases in the same cluster or to replicate
reserve WAL and might eventually cause the disk to fill up. See
also .
+
+ If a subscription is associated with a replication slot, then DROP
+ SUBSCRIPTION cannot be executed inside a transaction block.
+