diff options
author | Michael Paquier | 2024-12-03 07:21:10 +0000 |
---|---|---|
committer | Michael Paquier | 2024-12-03 07:21:10 +0000 |
commit | 7a35052a2b6e32fdcbe60d668509c35b747f89a8 (patch) | |
tree | 6e883cc5dda61a6c25f18cce9c0e8ed78e210fdf /doc/src | |
parent | d4ffbf47b2d43fe3319474970948f276c8e2f8c9 (diff) |
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/[email protected]
Backpatch-through: 17
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/sgml/ref/pg_createsubscriber.sgml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/pg_createsubscriber.sgml b/doc/src/sgml/ref/pg_createsubscriber.sgml index 04af154c4b4..df1a92b4dad 100644 --- a/doc/src/sgml/ref/pg_createsubscriber.sgml +++ b/doc/src/sgml/ref/pg_createsubscriber.sgml @@ -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 |