Re: Enhance 'pg_createsubscriber' to retrieve databases automatically when no database is provided.

Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>

From: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
To: Ajin Cherian <itsajin@gmail.com>
Cc: Shubham Khanna <khannashubham1197@gmail.com>, "Hayato Kuroda (Fujitsu)" <kuroda.hayato@fujitsu.com>, Peter Smith <smithpb2250@gmail.com>, Amit Kapila <amit.kapila16@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-03-10T04:58:07Z
Lists: pgsql-hackers
On Thu, Mar 6, 2025 at 9:18 AM Ajin Cherian <itsajin@gmail.com> wrote:

> +       Subscription names, publication names, and replication slot names are
> +       automatically generated. Cannot be used together with
> +       <option>--database</option>, <option>--publication</option>,
> +       <option>--replication-slot</option> or <option>--subscription</option>.
>
> Don't start the sentence with "Cannot". Change the sentence to "This
> option cannot be used together with ..."
> similar sentences used in 3 other places below this as well. Change all of them.

I didn't find any instance of "Cannot be" in the *.sgml files, but I
find some instances of "Can be". So it seems we allow such constructs
in the documentation. Any reasons for suggesting this change?

-- 
Best Wishes,
Ashutosh Bapat



Commits

  1. Cosmetic fixes for pg_createsubscriber's -all option.

  2. pg_createsubscriber: Add '--all' option.