Re: pg_createsubscriber: publication-name and subscription-name options do not exist

Shubham Khanna <khannashubham1197@gmail.com>

From: Shubham Khanna <khannashubham1197@gmail.com>
To: Peter Smith <smithpb2250@gmail.com>
Cc: vignesh C <vignesh21@gmail.com>, christophe.courtois@dalibo.com, pgsql-docs@lists.postgresql.org, Amit Kapila <amit.kapila16@gmail.com>
Date: 2024-12-03T04:22:25Z
Lists: pgsql-docs

Attachments

On Tue, Dec 3, 2024 at 9:21 AM Peter Smith <smithpb2250@gmail.com> wrote:
>
> Hi Shubham,
>
> Here are my comments for v4-0001.
>
> 1.
> -      If <option>replication-slot-name</option> is not specified, the
> +      If the <option>--replication-slot-name</option> is not specified, the
>
> No. I already said before ([1] #2) that there is no such thing called
> "--replication-slot-name".  It should be called "--replication-slot"
>
> ~~~
>
> 2.
> FYI your v4 changes are not using the text that I had suggested in
> [1]. E.g. When the switch/option term is not included I felt it was
> better to omit the word "the". Maybe you changed that deliberately, in
> which case that is your choice, but TBH I suspect this may have been
> unintentional.
>
> IMO it should look like this.
>
> /If the <option>--publication</option> is not specified/If
> <option>--publication</option> is not specified/
>
> /If the <option>--replication-slot-name</option> is not specified/If
> <option>--replication-slot</option> is not specified/
>
> /If the <option>--subscription</option> is not specified/If
> <option>--subscription</option> is not specified/
>
> ======
> [1] https://www.postgresql.org/message-id/CAHut%2BPs8Xq-e5XL%3DAejiX-pF0417Vc7tMrh%2BYuZjBt7ozjvPUA%40mail.gmail.com
>

I have fixed the suggested changes. The attached Patch contains the
required changes.

Thanks and regards,
Shubham Khanna.

Commits

  1. doc: Clarify some terms for pg_createsubscriber