Re: Added missing tab completion for alter subscription set option

Поиск
Список
Период
Сортировка
От Bharath Rupireddy
Тема Re: Added missing tab completion for alter subscription set option
Дата
Msg-id CALj2ACUX6kzBYXfR_RHzNosHQ0U_QEQFbc4R-X-zteNELsMC2w@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Added missing tab completion for alter subscription set option  (vignesh C <vignesh21@gmail.com>)
Ответы Re: Added missing tab completion for alter subscription set option  (vignesh C <vignesh21@gmail.com>)
Список pgsql-hackers
On Fri, May 14, 2021 at 6:51 PM vignesh C <vignesh21@gmail.com> wrote:
>
> On Fri, May 14, 2021 at 12:25 PM Bharath Rupireddy
> <bharath.rupireddyforpostgres@gmail.com> wrote:
> >
> > On Fri, May 14, 2021 at 12:00 PM vignesh C <vignesh21@gmail.com> wrote:
> > >
> > > Hi,
> > >
> > > While I was reviewing one of the logical decoding features, I found
> > > Streaming and binary options were missing in tab completion for the
> > > alter subscription set option, the attached patch has the changes for
> > > the same.
> > > Thoughts?
> >
> > +1.
> >
> > Without patch:
> > postgres=# alter subscription testsub set (S
> > SLOT_NAME           SYNCHRONOUS_COMMIT
> >
> > With patch:
> > postgres=# alter subscription testsub set (
> > BINARY              SLOT_NAME           STREAMING           SYNCHRONOUS_COMMIT
> >
> > How about ordering the options alphabetically as the tab complete
> > output anyways shows that way? I'm not sure if that's the practice,
> > but just a thought.
>
> I did not see any rule for this, but also did not see any harm in
> keeping it in alphabetical order, so changed it in the attached patch.

Thanks. Just a few nitpicks:
1) How about patch name: "Add tab completion for ALTER SUBSCRIPTION
SET options streaming and binary"?
2) How about a detailed message: "Tab completion for the options
streaming and binary were missing in case of ALTER SUBSCRIPTION SET
command. This patch adds them."?

You may want to add this in commitfest so that we don't lose track of it.

With Regards,
Bharath Rupireddy.
EnterpriseDB: http://www.enterprisedb.com



В списке pgsql-hackers по дате отправления:

Предыдущее
От: vignesh C
Дата:
Сообщение: Re: Added missing tab completion for alter subscription set option
Следующее
От: Tom Lane
Дата:
Сообщение: Re: OOM in spgist insert