From 7a35052a2b6e32fdcbe60d668509c35b747f89a8 Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Tue, 3 Dec 2024 16:21:10 +0900 Subject: [PATCH] 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 --- doc/src/sgml/ref/pg_createsubscriber.sgml | 10 +++++----- 1 file 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 FOR ALL - TABLES. If option is - not specified, it has the following name pattern: + TABLES. If the option + is not specified, the publication has the following name pattern: pg_createsubscriber_%u_%x (parameter: database oid, random int). - If is not specified, the + If the option is not specified, the replication slot has the following name pattern: pg_createsubscriber_%u_%x (parameters: database oid, random int). @@ -446,8 +446,8 @@ PostgreSQL documentation Create a subscription for each specified database on the target server. - If is not specified, the subscription - has the following name pattern: + If the option is not specified, the + subscription has the following name pattern: pg_createsubscriber_%u_%x (parameters: database oid, random int). It does not copy existing data from the source server. It does not