diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml
index e81141e45c..ff0df2d5c6 100644
--- a/doc/src/sgml/config.sgml
+++ b/doc/src/sgml/config.sgml
@@ -4001,6 +4001,17 @@ restore_command = 'copy "C:\\server\\archivedir\\%f" "%p"' # Windows
to replica or higher to allow replication slots to
be used.
+
+
+ On the subscriber side, specifies how many replication origins (see
+ ) can be tracked simultaneously,
+ effectively limiting how many logical replication subscriptions can
+ be created on the server. Setting it a lower value than the current
+ number of tracked replication origins (reflected in
+ pg_replication_origin_status,
+ not pg_replication_origin)
+ will prevent the server from starting.
+
diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml
index d0742f2c52..c025249a8c 100644
--- a/doc/src/sgml/logical-replication.sgml
+++ b/doc/src/sgml/logical-replication.sgml
@@ -602,8 +602,9 @@
- The subscriber also requires the max_replication_slots
- to be set. In this case it should be set to at least the number of
+ The subscriber also requires that max_replication_slots
+ be set to configure how many replication origins can be tracked.
+ In this case it should be set to at least the number of
subscriptions that will be added to the subscriber.
max_logical_replication_workers must be set to at
least the number of subscriptions, again plus some reserve for the table