From: | Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com> |
---|---|
To: | vignesh C <vignesh21(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Added missing tab completion for alter subscription set option |
Date: | 2021-05-14 06:54:51 |
Message-ID: | CALj2ACXAbuF9i2EA8_w+iXxHvd_-c2eeE2gm4de1Cs51DR872A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Fri, May 14, 2021 at 12:00 PM vignesh C <vignesh21(at)gmail(dot)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.
Change:
+ COMPLETE_WITH("binary", "slot_name", "synchronous_commit",
"streaming");
To:
+ COMPLETE_WITH("binary", "slot_name", "streaming",
"synchronous_commit");
With Regards,
Bharath Rupireddy.
EnterpriseDB: http://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Amit Langote | 2021-05-14 07:14:36 | Re: Forget close an open relation in ReorderBufferProcessTXN() |
Previous Message | Kyotaro Horiguchi | 2021-05-14 06:31:53 | Bracket, brace, parenthesis |