mirror of
https://github.com/postgres/postgres.git
synced 2025-05-26 18:17:33 +03:00
doc: Clarify some terms for pg_createsubscriber
The last section of pg_createsubscriber used the terms "publication-name", "replication-slot-name", and "subscription-name". These terms are not defined on the page, which was confusing, and the intention is clearly to refer to the values one would give to the options --publication, --subscription and --replication-slot. Let's simplify the documentation by mentioning the option switches, instead of these terms. Reported-by: Christophe Courtois Author: Shubham Khanna Reviewed-by: Vignesh C, Peter Smith Discussion: https://postgr.es/m/173288198026.714.15127074046508836738@wrigleys.postgresql.org Backpatch-through: 17
This commit is contained in:
parent
d4ffbf47b2
commit
7a35052a2b
@ -407,11 +407,11 @@ PostgreSQL documentation
|
||||
Create a publication and replication slot for each specified database on
|
||||
the source server. Each publication is created using <link
|
||||
linkend="sql-createpublication-params-for-all-tables"><literal>FOR ALL
|
||||
TABLES</literal></link>. If <option>publication-name</option> option is
|
||||
not specified, it has the following name pattern:
|
||||
TABLES</literal></link>. If the <option>--publication</option> option
|
||||
is not specified, the publication has the following name pattern:
|
||||
<quote><literal>pg_createsubscriber_%u_%x</literal></quote> (parameter:
|
||||
database <parameter>oid</parameter>, random <parameter>int</parameter>).
|
||||
If <option>replication-slot-name</option> is not specified, the
|
||||
If the <option>--replication-slot</option> option is not specified, the
|
||||
replication slot has the following name pattern:
|
||||
<quote><literal>pg_createsubscriber_%u_%x</literal></quote> (parameters:
|
||||
database <parameter>oid</parameter>, random <parameter>int</parameter>).
|
||||
@ -446,8 +446,8 @@ PostgreSQL documentation
|
||||
<step>
|
||||
<para>
|
||||
Create a subscription for each specified database on the target server.
|
||||
If <option>subscription-name</option> is not specified, the subscription
|
||||
has the following name pattern:
|
||||
If the <option>--subscription</option> option is not specified, the
|
||||
subscription has the following name pattern:
|
||||
<quote><literal>pg_createsubscriber_%u_%x</literal></quote> (parameters:
|
||||
database <parameter>oid</parameter>, random <parameter>int</parameter>).
|
||||
It does not copy existing data from the source server. It does not
|
||||
|
Loading…
x
Reference in New Issue
Block a user