253253 will be filled with the default value as specified in the definition of the
254254 target table. However, logical replication in binary format is more
255255 restrictive. See the
256- <link linkend="sql-createsubscription-with-binary"><literal>binary</literal></link>
256+ <link linkend="sql-createsubscription-params- with-binary"><literal>binary</literal></link>
257257 option of <command>CREATE SUBSCRIPTION</command> for details.
258258 </para>
259259
@@ -371,7 +371,7 @@ INSERT 0 3
371371 <para>
372372 Create publications for the tables. The publications <literal>pub2</literal>
373373 and <literal>pub3a</literal> disallow some
374- <link linkend="sql-createpublication-with-publish"><literal>publish</literal></link>
374+ <link linkend="sql-createpublication-params- with-publish"><literal>publish</literal></link>
375375 operations. The publication <literal>pub3b</literal> has a row filter (see
376376 <xref linkend="logical-replication-row-filter"/>).
377377<programlisting>
@@ -593,7 +593,7 @@ ALTER SUBSCRIPTION
593593 <para>
594594 Example 2: Where the subscription says <literal>connect = false</literal>,
595595 but also specifies the
596- <link linkend="sql-createsubscription-with-slot-name"><literal>slot_name</literal></link>
596+ <link linkend="sql-createsubscription-params- with-slot-name"><literal>slot_name</literal></link>
597597 option.
598598 <itemizedlist>
599599 <listitem>
@@ -712,7 +712,7 @@ ALTER SUBSCRIPTION
712712 then the row is not replicated. The <literal>WHERE</literal> clause expression
713713 is evaluated with the same role used for the replication connection (i.e.
714714 the role specified in the
715- <link linkend="sql-createsubscription-connection"><literal>CONNECTION</literal></link>
715+ <link linkend="sql-createsubscription-params- connection"><literal>CONNECTION</literal></link>
716716 clause of the <xref linkend="sql-createsubscription"/>). Row filters have
717717 no effect for <command>TRUNCATE</command> command.
718718 </para>
@@ -805,7 +805,7 @@ ALTER SUBSCRIPTION
805805
806806 <para>
807807 If the publication contains a partitioned table, the publication parameter
808- <link linkend="sql-createpublication-with-publish-via-partition-root"><literal>publish_via_partition_root</literal></link>
808+ <link linkend="sql-createpublication-params- with-publish-via-partition-root"><literal>publish_via_partition_root</literal></link>
809809 determines which row filter is used. If <literal>publish_via_partition_root</literal>
810810 is <literal>true</literal>, the <emphasis>root partitioned table's</emphasis>
811811 row filter is used. Otherwise, if <literal>publish_via_partition_root</literal>
@@ -834,7 +834,7 @@ ALTER SUBSCRIPTION
834834 <warning>
835835 <para>
836836 Because initial data synchronization does not take into account the
837- <link linkend="sql-createpublication-with-publish"><literal>publish</literal></link>
837+ <link linkend="sql-createpublication-params- with-publish"><literal>publish</literal></link>
838838 parameter when copying existing table data, some rows may be copied that
839839 would not be replicated using DML. Refer to
840840 <xref linkend="logical-replication-snapshot"/>, and see
@@ -858,7 +858,7 @@ ALTER SUBSCRIPTION
858858 <para>
859859 If the subscription has several publications in which the same table has
860860 been published with different row filters (for the same
861- <link linkend="sql-createpublication-with-publish"><literal>publish</literal></link>
861+ <link linkend="sql-createpublication-params- with-publish"><literal>publish</literal></link>
862862 operation), those expressions get ORed together, so that rows satisfying
863863 <emphasis>any</emphasis> of the expressions will be replicated. This means all
864864 the other row filters for the same table become redundant if:
@@ -871,14 +871,14 @@ ALTER SUBSCRIPTION
871871 <listitem>
872872 <para>
873873 One of the publications was created using
874- <link linkend="sql-createpublication-for-all-tables"><literal>FOR ALL TABLES</literal></link>.
874+ <link linkend="sql-createpublication-params- for-all-tables"><literal>FOR ALL TABLES</literal></link>.
875875 This clause does not allow row filters.
876876 </para>
877877 </listitem>
878878 <listitem>
879879 <para>
880880 One of the publications was created using
881- <link linkend="sql-createpublication-for-tables-in-schema"><literal>FOR TABLES IN SCHEMA</literal></link>
881+ <link linkend="sql-createpublication-params- for-tables-in-schema"><literal>FOR TABLES IN SCHEMA</literal></link>
882882 and the table belongs to the referred schema. This clause does not allow
883883 row filters.
884884 </para>
@@ -1145,7 +1145,7 @@ test_sub=# SELECT * FROM t1;
11451145
11461146 <para>
11471147 The following examples show how the publication parameter
1148- <link linkend="sql-createpublication-with-publish-via-partition-root"><literal>publish_via_partition_root</literal></link>
1148+ <link linkend="sql-createpublication-params- with-publish-via-partition-root"><literal>publish_via_partition_root</literal></link>
11491149 determines whether the row filter of the parent or child table will be used
11501150 in the case of partitioned tables.
11511151 </para>
@@ -1300,13 +1300,13 @@ test_sub=# SELECT * FROM child ORDER BY a;
13001300
13011301 <para>
13021302 Specifying a column list when the publication also publishes
1303- <link linkend="sql-createpublication-for-tables-in-schema"><literal>FOR TABLES IN SCHEMA</literal></link>
1303+ <link linkend="sql-createpublication-params- for-tables-in-schema"><literal>FOR TABLES IN SCHEMA</literal></link>
13041304 is not supported.
13051305 </para>
13061306
13071307 <para>
13081308 For partitioned tables, the publication parameter
1309- <link linkend="sql-createpublication-with-publish-via-partition-root"><literal>publish_via_partition_root</literal></link>
1309+ <link linkend="sql-createpublication-params- with-publish-via-partition-root"><literal>publish_via_partition_root</literal></link>
13101310 determines which column list is used. If <literal>publish_via_partition_root</literal>
13111311 is <literal>true</literal>, the root partitioned table's column list is
13121312 used. Otherwise, if <literal>publish_via_partition_root</literal> is
@@ -1518,7 +1518,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
15181518 either by <link linkend="sql-altersubscription-params-disable">
15191519 <command>ALTER SUBSCRIPTION ... DISABLE</command></link> or, the
15201520 subscription can be used with the
1521- <link linkend="sql-createsubscription-with-disable-on-error"><literal>disable_on_error</literal></link>
1521+ <link linkend="sql-createsubscription-params- with-disable-on-error"><literal>disable_on_error</literal></link>
15221522 option. Then, you can use <function>pg_replication_origin_advance()</function>
15231523 function with the <parameter>node_name</parameter> (i.e., <literal>pg_16395</literal>)
15241524 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
15311531
15321532 <para>
15331533 When the
1534- <link linkend="sql-createsubscription-with-streaming"><literal>streaming</literal></link>
1534+ <link linkend="sql-createsubscription-params- with-streaming"><literal>streaming</literal></link>
15351535 mode is <literal>parallel</literal>, the finish LSN of failed transactions
15361536 may not be logged. In that case, it may be necessary to change the streaming
15371537 mode to <literal>on</literal> or <literal>off</literal> and cause the same
@@ -1624,7 +1624,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
16241624 using the identity and schema of the partitioned root table instead of
16251625 that of the individual leaf partitions in which the changes actually
16261626 originate (see
1627- <link linkend="sql-createpublication-with-publish-via-partition-root"><literal>publish_via_partition_root</literal></link>
1627+ <link linkend="sql-createpublication-params- with-publish-via-partition-root"><literal>publish_via_partition_root</literal></link>
16281628 parameter of <command>CREATE PUBLICATION</command>).
16291629 </para>
16301630 </listitem>
@@ -1709,7 +1709,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
17091709 <note>
17101710 <para>
17111711 The publication
1712- <link linkend="sql-createpublication-with-publish"><literal>publish</literal></link>
1712+ <link linkend="sql-createpublication-params- with-publish"><literal>publish</literal></link>
17131713 parameter only affects what DML operations will be replicated. The
17141714 initial data synchronization does not take this parameter into account
17151715 when copying the existing table data.
@@ -1743,7 +1743,7 @@ CONTEXT: processing remote data for replication origin "pg_16395" during "INSER
17431743 zero rows in this view. If the initial data synchronization of any
17441744 table is in progress, there will be additional workers for the tables
17451745 being synchronized. Moreover, if the
1746- <link linkend="sql-createsubscription-with-streaming"><literal>streaming</literal></link>
1746+ <link linkend="sql-createsubscription-params- with-streaming"><literal>streaming</literal></link>
17471747 transaction is applied in parallel, there may be additional parallel apply
17481748 workers.
17491749 </para>
0 commit comments