From: | Shubham Khanna <khannashubham1197(at)gmail(dot)com> |
---|---|
To: | vignesh C <vignesh21(at)gmail(dot)com> |
Cc: | christophe(dot)courtois(at)dalibo(dot)com, pgsql-docs(at)lists(dot)postgresql(dot)org, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
Subject: | Re: pg_createsubscriber: publication-name and subscription-name options do not exist |
Date: | 2024-12-02 17:32:09 |
Message-ID: | CAHv8Rj+boOi+65i8ewGtvf-VStE1F_3U2n=9iGrk-SCRHgH_ig@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Mon, Dec 2, 2024 at 4:57 PM vignesh C <vignesh21(at)gmail(dot)com> wrote:
>
> On Mon, 2 Dec 2024 at 15:00, Shubham Khanna <khannashubham1197(at)gmail(dot)com> wrote:
> >
> > On Mon, Dec 2, 2024 at 2:57 PM PG Doc comments form
> > <noreply(at)postgresql(dot)org> wrote:
> > >
> > > The following documentation comment has been logged on the website:
> > >
> > > Page: https://www.postgresql.org/docs/17/app-pgcreatesubscriber.html
> > > Description:
> > >
> > > The page https://www.postgresql.org/docs/17/app-pgcreatesubscriber.html
> > > mentions these two options:
> > > “If publication-name option is not specified …“
> > > “If subscription-name is not specified …“
> > >
> > > while `pg_createsubscriber --help` returns:
> > >
> > > --publication=NAME publication name
> > > --replication-slot=NAME replication slot name
> > > --subscription=NAME subscription name
> > >
> > > I suppose that the options should be respectively --publication and
> > > --subscription.
> > >
> >
> > I have updated the Documentation for pg_createsubscriber with the
> > suggested changes. The attached Patch contains the required changes.
>
> Thanks for the patch, one suggestion:
> We can change "<option>subscription</option>" to
> "<option>subscription</option> option" to keep it consistent with
> publication option documentation just above a few lines which mentions
> it like "If <option>publication</option> option is not specified":
> Create a subscription for each specified database on the target server.
> - If <option>subscription-name</option> is not specified, the subscription
> + If <option>subscription</option> is not specified, the subscription
> has the following name pattern:
> <quote><literal>pg_createsubscriber_%u_%x</literal></quote> (parameters:
>
I have fixed the suggested changes. The attached Patch contains the
required changes.
Thanks and regards,
Shubham Khanna.
Attachment | Content-Type | Size |
---|---|---|
v2-0001-DOCS-Fix.patch | application/x-patch | 2.1 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | PG Doc comments form | 2024-12-02 23:55:30 | 34.3.2. Using Cursors |
Previous Message | Daniel Gustafsson | 2024-12-02 15:39:22 | Re: Hyperlinks for source file references |