v20250409-0002-DOCS-move-the-description-how-the-all-conn.patch

application/octet-stream

Filename: v20250409-0002-DOCS-move-the-description-how-the-all-conn.patch
Type: application/octet-stream
Part: 2
Message: Re: Enhance 'pg_createsubscriber' to retrieve databases automatically when no database is provided.

Patch

Format: format-patch
Series: patch v20250409-0002
Subject: DOCS - move the description how the --all connection is made
File+
doc/src/sgml/ref/pg_createsubscriber.sgml 5 5
From e58014ed33453644f7d37caea0096bf7bc67f1a7 Mon Sep 17 00:00:00 2001
From: Peter Smith <peter.b.smith@fujitsu.com>
Date: Wed, 9 Apr 2025 10:35:23 +1000
Subject: [PATCH v20250409] DOCS - move the description how the --all
 connection is made

---
 doc/src/sgml/ref/pg_createsubscriber.sgml | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/src/sgml/ref/pg_createsubscriber.sgml b/doc/src/sgml/ref/pg_createsubscriber.sgml
index 4b1d08d..e30a144 100644
--- a/doc/src/sgml/ref/pg_createsubscriber.sgml
+++ b/doc/src/sgml/ref/pg_createsubscriber.sgml
@@ -94,11 +94,6 @@ PostgreSQL documentation
       <para>
        Create one subscription per database on the target server. Exceptions
        are template databases and databases that don't allow connections.
-       To discover the list of all databases, connect to the source server
-       using the database name specified in the <option>--publisher-server</option>
-       connection string, or if not specified, the <literal>postgres</literal>
-       database will be used, or if that does not exist, <literal>template1</literal>
-       will be used.
        Automatically generated names for subscriptions, publications, and
        replication slots are used when this option is specified.
        This option cannot be used along with <option>--database</option>,
@@ -386,6 +381,11 @@ PostgreSQL documentation
     replication slots.  The source server must have <xref
     linkend="guc-max-wal-senders"/> configured to a value greater than or equal
     to the number of specified databases and existing WAL sender processes.
+    When discovering the list of all databases for the <option>--all</option>
+    option, connect to the source server using the database name specified in
+    the <option>--publisher-server</option> connection string, or if not specified,
+    the <literal>postgres</literal> database will be used, or if that does not exist,
+    <literal>template1</literal> will be used.
    </para>
   </refsect2>
 
-- 
1.8.3.1