diff options
author | Amit Kapila | 2025-04-10 04:53:01 +0000 |
---|---|---|
committer | Amit Kapila | 2025-04-10 05:00:05 +0000 |
commit | d438515c29c3cc539c79292c040335804183ca3e (patch) | |
tree | 41a9f9cf280472991bab653ee89895db69e3dafb | |
parent | d15acc915de196df799ba000dd6842bbd4a60339 (diff) |
Cosmetic fixes for pg_createsubscriber's -all option.
Author: Peter Smith <[email protected]>
Reviewed-by: Amit Kapila <[email protected]>
Discussion: https://postgr.es/m/CAHut+PsmSCQ-ENSDQ0YOUcsgzT=GG-E9jyXBvxd51A_dMXH5XA@mail.gmail.com
-rw-r--r-- | doc/src/sgml/ref/pg_createsubscriber.sgml | 7 | ||||
-rw-r--r-- | src/bin/pg_basebackup/pg_createsubscriber.c | 4 |
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/src/sgml/ref/pg_createsubscriber.sgml b/doc/src/sgml/ref/pg_createsubscriber.sgml index 73377aa6a6e..4b1d08d5f16 100644 --- a/doc/src/sgml/ref/pg_createsubscriber.sgml +++ b/doc/src/sgml/ref/pg_createsubscriber.sgml @@ -94,8 +94,11 @@ PostgreSQL documentation <para> Create one subscription per database on the target server. Exceptions are template databases and databases that don't allow connections. - If the database name is not specified in publisher-server, the postgres - database will be used, or if that does not exist, template1 will be used. + 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>, diff --git a/src/bin/pg_basebackup/pg_createsubscriber.c b/src/bin/pg_basebackup/pg_createsubscriber.c index 1d2f39e3926..42aaa428aed 100644 --- a/src/bin/pg_basebackup/pg_createsubscriber.c +++ b/src/bin/pg_basebackup/pg_createsubscriber.c @@ -1963,8 +1963,8 @@ enable_subscription(PGconn *conn, const struct LogicalRepInfo *dbinfo) } /* - * Fetch a list of all not-template databases from the source server and form - * a list such that they appear as if the user has specified multiple + * Fetch a list of all connectable non-template databases from the source server + * and form a list such that they appear as if the user has specified multiple * --database options, one for each source database. */ static void |