1
0
mirror of https://github.com/postgres/postgres.git synced 2025-04-18 13:44:19 +03:00

Cosmetic fixes for pg_createsubscriber's -all option.

Author: Peter Smith <smithpb2250@gmail.com>
Reviewed-by: Amit Kapila <amit.kapila16@gmail.com>
Discussion: https://postgr.es/m/CAHut+PsmSCQ-ENSDQ0YOUcsgzT=GG-E9jyXBvxd51A_dMXH5XA@mail.gmail.com
This commit is contained in:
Amit Kapila 2025-04-10 10:23:01 +05:30
parent d15acc915d
commit d438515c29
2 changed files with 7 additions and 4 deletions

View File

@ -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>,

View File

@ -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