mirror of
https://github.com/postgres/postgres.git
synced 2025-04-25 21:42:33 +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:
parent
d15acc915d
commit
d438515c29
@ -94,8 +94,11 @@ PostgreSQL documentation
|
|||||||
<para>
|
<para>
|
||||||
Create one subscription per database on the target server. Exceptions
|
Create one subscription per database on the target server. Exceptions
|
||||||
are template databases and databases that don't allow connections.
|
are template databases and databases that don't allow connections.
|
||||||
If the database name is not specified in publisher-server, the postgres
|
To discover the list of all databases, connect to the source server
|
||||||
database will be used, or if that does not exist, template1 will be used.
|
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
|
Automatically generated names for subscriptions, publications, and
|
||||||
replication slots are used when this option is specified.
|
replication slots are used when this option is specified.
|
||||||
This option cannot be used along with <option>--database</option>,
|
This option cannot be used along with <option>--database</option>,
|
||||||
|
@ -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
|
* Fetch a list of all connectable non-template databases from the source server
|
||||||
* a list such that they appear as if the user has specified multiple
|
* and form a list such that they appear as if the user has specified multiple
|
||||||
* --database options, one for each source database.
|
* --database options, one for each source database.
|
||||||
*/
|
*/
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user