Skip to content

Commit 8817e8d

Browse files
committed
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
1 parent e3fa2b0 commit 8817e8d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/src/sgml/ref/pg_createsubscriber.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -407,11 +407,11 @@ PostgreSQL documentation
407407
Create a publication and replication slot for each specified database on
408408
the source server. Each publication is created using <link
409409
linkend="sql-createpublication-params-for-all-tables"><literal>FOR ALL
410-
TABLES</literal></link>. If <option>publication-name</option> option is
411-
not specified, it has the following name pattern:
410+
TABLES</literal></link>. If the <option>--publication</option> option
411+
is not specified, the publication has the following name pattern:
412412
<quote><literal>pg_createsubscriber_%u_%x</literal></quote> (parameter:
413413
database <parameter>oid</parameter>, random <parameter>int</parameter>).
414-
If <option>replication-slot-name</option> is not specified, the
414+
If the <option>--replication-slot</option> option is not specified, the
415415
replication slot has the following name pattern:
416416
<quote><literal>pg_createsubscriber_%u_%x</literal></quote> (parameters:
417417
database <parameter>oid</parameter>, random <parameter>int</parameter>).
@@ -446,8 +446,8 @@ PostgreSQL documentation
446446
<step>
447447
<para>
448448
Create a subscription for each specified database on the target server.
449-
If <option>subscription-name</option> is not specified, the subscription
450-
has the following name pattern:
449+
If the <option>--subscription</option> option is not specified, the
450+
subscription has the following name pattern:
451451
<quote><literal>pg_createsubscriber_%u_%x</literal></quote> (parameters:
452452
database <parameter>oid</parameter>, random <parameter>int</parameter>).
453453
It does not copy existing data from the source server. It does not

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy