diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index 985cabfc0b3..bd70ff2e4b8 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -11702,7 +11702,7 @@ LOG: CleanUpLock: deleting: lock(0xb7acd844) id(24688,24696,0,0,0,1)
On the publisher side, debug_logical_replication_streaming
allows streaming or serializing changes immediately in logical decoding.
When set to immediate, stream each change if the
- streaming
+ streaming
option of
CREATE SUBSCRIPTION
is enabled, otherwise, serialize each change. When set to
diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml
index 8c3837e89bd..1bb85e4ad98 100644
--- a/doc/src/sgml/logical-replication.sgml
+++ b/doc/src/sgml/logical-replication.sgml
@@ -253,7 +253,7 @@
will be filled with the default value as specified in the definition of the
target table. However, logical replication in binary format is more
restrictive. See the
- binary
+ binary
option of CREATE SUBSCRIPTION for details.
@@ -371,7 +371,7 @@ INSERT 0 3
Create publications for the tables. The publications pub2
and pub3a disallow some
- publish
+ publish
operations. The publication pub3b has a row filter (see
).
@@ -593,7 +593,7 @@ ALTER SUBSCRIPTION
Example 2: Where the subscription says connect = false,
but also specifies the
- slot_name
+ slot_name
option.
@@ -712,7 +712,7 @@ ALTER SUBSCRIPTION
then the row is not replicated. The WHERE clause expression
is evaluated with the same role used for the replication connection (i.e.
the role specified in the
- CONNECTION
+ CONNECTION
clause of the ). Row filters have
no effect for TRUNCATE command.
@@ -805,7 +805,7 @@ ALTER SUBSCRIPTION
If the publication contains a partitioned table, the publication parameter
- publish_via_partition_root
+ publish_via_partition_root
determines which row filter is used. If publish_via_partition_root
is true, the root partitioned table's
row filter is used. Otherwise, if publish_via_partition_root
@@ -834,7 +834,7 @@ ALTER SUBSCRIPTION
Because initial data synchronization does not take into account the
- publish
+ publish
parameter when copying existing table data, some rows may be copied that
would not be replicated using DML. Refer to
, and see
@@ -858,7 +858,7 @@ ALTER SUBSCRIPTION
If the subscription has several publications in which the same table has
been published with different row filters (for the same
- publish
+ publish
operation), those expressions get ORed together, so that rows satisfying
any of the expressions will be replicated. This means all
the other row filters for the same table become redundant if:
@@ -871,14 +871,14 @@ ALTER SUBSCRIPTION
One of the publications was created using
- FOR ALL TABLES.
+ FOR ALL TABLES.
This clause does not allow row filters.
One of the publications was created using
- FOR TABLES IN SCHEMA
+ FOR TABLES IN SCHEMA
and the table belongs to the referred schema. This clause does not allow
row filters.
@@ -1145,7 +1145,7 @@ test_sub=# SELECT * FROM t1;
The following examples show how the publication parameter
- publish_via_partition_root
+ publish_via_partition_root
determines whether the row filter of the parent or child table will be used
in the case of partitioned tables.
@@ -1300,13 +1300,13 @@ test_sub=# SELECT * FROM child ORDER BY a;
Specifying a column list when the publication also publishes
- FOR TABLES IN SCHEMA
+ FOR TABLES IN SCHEMA
is not supported.
For partitioned tables, the publication parameter
- publish_via_partition_root
+ publish_via_partition_root
determines which column list is used. If publish_via_partition_root
is true, the root partitioned table's column list is
used. Otherwise, if publish_via_partition_root is
@@ -1518,7 +1518,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
either by
ALTER SUBSCRIPTION ... DISABLE or, the
subscription can be used with the
- disable_on_error
+ disable_on_error
option. Then, you can use pg_replication_origin_advance()
function with the node_name (i.e., pg_16395)
and the next LSN of the finish LSN (i.e., 0/14C0379). The current position of
@@ -1531,7 +1531,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
When the
- streaming
+ streaming
mode is parallel, the finish LSN of failed transactions
may not be logged. In that case, it may be necessary to change the streaming
mode to on or off and cause the same
@@ -1624,7 +1624,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
using the identity and schema of the partitioned root table instead of
that of the individual leaf partitions in which the changes actually
originate (see
- publish_via_partition_root
+ publish_via_partition_root
parameter of CREATE PUBLICATION).
@@ -1709,7 +1709,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
The publication
- publish
+ publish
parameter only affects what DML operations will be replicated. The
initial data synchronization does not take this parameter into account
when copying the existing table data.
@@ -1743,7 +1743,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
zero rows in this view. If the initial data synchronization of any
table is in progress, there will be additional workers for the tables
being synchronized. Moreover, if the
- streaming
+ streaming
transaction is applied in parallel, there may be additional parallel apply
workers.
diff --git a/doc/src/sgml/ref/alter_publication.sgml b/doc/src/sgml/ref/alter_publication.sgml
index 74fda82ed04..44ae7e0e871 100644
--- a/doc/src/sgml/ref/alter_publication.sgml
+++ b/doc/src/sgml/ref/alter_publication.sgml
@@ -56,7 +56,7 @@ ALTER PUBLICATION name RENAME TO DROP TABLES IN SCHEMA will not drop any schema tables
that were specified using
- FOR TABLE/
+ FOR TABLE/
ADD TABLE, and the combination of DROP
with a WHERE clause is not allowed.
@@ -82,8 +82,8 @@ ALTER PUBLICATION name RENAME TO CREATE
privilege on the database.
Also, the new owner of a
- FOR ALL TABLES
- or FOR TABLES IN SCHEMA
+ FOR ALL TABLES
+ or FOR TABLES IN SCHEMA
publication must be a superuser. However, a superuser can
change the ownership of a publication regardless of these restrictions.
diff --git a/doc/src/sgml/ref/alter_subscription.sgml b/doc/src/sgml/ref/alter_subscription.sgml
index ba708555300..6d36ff0dc90 100644
--- a/doc/src/sgml/ref/alter_subscription.sgml
+++ b/doc/src/sgml/ref/alter_subscription.sgml
@@ -72,9 +72,9 @@ ALTER SUBSCRIPTION name RENAME TO <
executed inside a transaction block.
These commands also cannot be executed when the subscription has
- two_phase
+ two_phase
commit enabled, unless
- copy_data
+ copy_data
is false. See column subtwophasestate
of pg_subscription
to know the actual two-phase state.
@@ -178,12 +178,12 @@ ALTER SUBSCRIPTION name RENAME TO <
See for details of
how copy_data = true can interact with the
- origin
+ origin
parameter.
See the
- binary
+ binary
parameter of CREATE SUBSCRIPTION for details about
copying pre-existing data in binary format.
@@ -220,14 +220,14 @@ ALTER SUBSCRIPTION name RENAME TO <
This clause alters parameters originally set by
. See there for more
information. The parameters that can be altered are
- slot_name,
- synchronous_commit,
- binary,
- streaming,
- disable_on_error,
- password_required,
- run_as_owner, and
- origin.
+ slot_name,
+ synchronous_commit,
+ binary,
+ streaming,
+ disable_on_error,
+ password_required,
+ run_as_owner, and
+ origin.
Only a superuser can set password_required = false.
@@ -243,7 +243,7 @@ ALTER SUBSCRIPTION name RENAME TO <
the logical replication worker skips all data modification changes within
the transaction. This option has no effect on the transactions that are
already prepared by enabling
- two_phase
+ two_phase
on the subscriber.
After the logical replication worker successfully skips the transaction or
finishes a transaction, the LSN (stored in
diff --git a/doc/src/sgml/ref/create_publication.sgml b/doc/src/sgml/ref/create_publication.sgml
index 606aa64ecfa..fd9c5deac95 100644
--- a/doc/src/sgml/ref/create_publication.sgml
+++ b/doc/src/sgml/ref/create_publication.sgml
@@ -54,7 +54,7 @@ CREATE PUBLICATION nameParameters
-
+ name
@@ -63,7 +63,7 @@ CREATE PUBLICATION name
-
+ FOR TABLE
@@ -117,7 +117,7 @@ CREATE PUBLICATION name
-
+ FOR ALL TABLES
@@ -127,7 +127,7 @@ CREATE PUBLICATION name
-
+ FOR TABLES IN SCHEMA
@@ -158,7 +158,7 @@ CREATE PUBLICATION name
-
+ WITH ( publication_parameter [= value] [, ... ] )
@@ -166,7 +166,7 @@ CREATE PUBLICATION name
following parameters are supported:
-
+ publish (string)
@@ -188,7 +188,7 @@ CREATE PUBLICATION name
-
+ publish_via_partition_root (boolean)
diff --git a/doc/src/sgml/ref/create_subscription.sgml b/doc/src/sgml/ref/create_subscription.sgml
index c1bafbfa06a..f1c20b3a465 100644
--- a/doc/src/sgml/ref/create_subscription.sgml
+++ b/doc/src/sgml/ref/create_subscription.sgml
@@ -68,7 +68,7 @@ CREATE SUBSCRIPTION subscription_nameParameters
-
+ subscription_name
@@ -77,7 +77,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ CONNECTION 'conninfo'
@@ -88,7 +88,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ PUBLICATION publication_name [, ...]
@@ -97,7 +97,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ WITH ( subscription_parameter [= value] [, ... ] )
@@ -109,7 +109,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ connect (boolean)
@@ -136,7 +136,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ create_slot (boolean)
@@ -152,7 +152,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ enabled (boolean)
@@ -163,7 +163,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ slot_name (string)
@@ -192,7 +192,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ binary (boolean)
@@ -229,7 +229,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ copy_data (boolean)
@@ -250,7 +250,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ streaming (enum)
@@ -278,7 +278,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ synchronous_commit (enum)
@@ -310,7 +310,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ two_phase (boolean)
@@ -341,7 +341,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ disable_on_error (boolean)
@@ -353,7 +353,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ password_required (boolean)
@@ -366,7 +366,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ run_as_owner (boolean)
@@ -380,7 +380,7 @@ CREATE SUBSCRIPTION subscription_name
-
+ origin (string)
@@ -452,8 +452,8 @@ CREATE SUBSCRIPTION subscription_nameWHERE clauses, if one of the
publications has no WHERE clause (referring to that
publish operation) or the publication is declared as
- FOR ALL TABLES
- or FOR TABLES IN SCHEMA,
+ FOR ALL TABLES
+ or FOR TABLES IN SCHEMA,
rows are always published regardless of the definition of the other
expressions. If the subscriber is a PostgreSQL
version before 15, then any row filtering is ignored during the initial data
@@ -461,7 +461,7 @@ CREATE SUBSCRIPTION subscription_namepublish
+ publish
parameter when copying existing table data, some rows may be copied that
would not be replicated using DML. See
for examples.
diff --git a/doc/src/sgml/ref/pg_dump.sgml b/doc/src/sgml/ref/pg_dump.sgml
index 1417d70a28d..8695571045b 100644
--- a/doc/src/sgml/ref/pg_dump.sgml
+++ b/doc/src/sgml/ref/pg_dump.sgml
@@ -1488,7 +1488,7 @@ CREATE DATABASE foo WITH TEMPLATE template0;
truncate the target tables before initiating a new full table copy. If users
intend to copy initial data during refresh they must create the slot with
two_phase = false. After the initial sync, the
- two_phase
+ two_phase
option will be automatically enabled by the subscriber if the subscription
had been originally created with two_phase = true option.
diff --git a/doc/src/sgml/system-views.sgml b/doc/src/sgml/system-views.sgml
index 970b3bd44b0..7078491c4c0 100644
--- a/doc/src/sgml/system-views.sgml
+++ b/doc/src/sgml/system-views.sgml
@@ -2151,8 +2151,8 @@ SELECT * FROM pg_locks pl LEFT JOIN pg_prepared_xacts ppx
tables they contain. Unlike the underlying catalog
pg_publication_rel,
this view expands publications defined as
- FOR ALL TABLES
- and FOR TABLES IN SCHEMA,
+ FOR ALL TABLES
+ and FOR TABLES IN SCHEMA,
so for such publications there will be a row for each eligible table.