File tree 2 files changed +16
-5
lines changed
2 files changed +16
-5
lines changed Original file line number Diff line number Diff line change @@ -3781,6 +3781,17 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
3781
3781
to <literal>replica</literal> or higher to allow replication slots to
3782
3782
be used.
3783
3783
</para>
3784
+
3785
+ <para>
3786
+ On the subscriber side, specifies how many replication origins (see
3787
+ <xref linkend="replication-origins"/>) can be tracked simultaneously,
3788
+ effectively limiting how many logical replication subscriptions can
3789
+ be created on the server. Setting it a lower value than the current
3790
+ number of tracked replication origins (reflected in
3791
+ <link linkend="view-pg-replication-origin-status">pg_replication_origin_status</link>,
3792
+ not <link linkend="catalog-pg-replication-origin">pg_replication_origin</link>)
3793
+ will prevent the server from starting.
3794
+ </para>
3784
3795
</listitem>
3785
3796
</varlistentry>
3786
3797
Original file line number Diff line number Diff line change 577
577
578
578
<para>
579
579
The subscriber also requires the <varname>max_replication_slots</varname>
580
- to be set. In this case it should be set to at least the number of
581
- subscriptions that will be added to the subscriber.
582
- <varname>max_logical_replication_workers</varname> must be set to at
583
- least the number of subscriptions, again plus some reserve for the table
584
- synchronization. Additionally the <varname>max_worker_processes</varname>
580
+ be set to configure how many replication origins can be tracked. In this
581
+ case it should be set to at least the number of subscriptions that will be
582
+ added to the subscriber. <varname>max_logical_replication_workers</varname>
583
+ must be set to at least the number of subscriptions, again plus some reserve
584
+ for the table synchronization. Additionally the <varname>max_worker_processes</varname>
585
585
may need to be adjusted to accommodate for replication workers, at least
586
586
(<varname>max_logical_replication_workers</varname>
587
587
+ <literal>1</literal>). Note that some extensions and parallel queries
You can’t perform that action at this time.
0 commit comments