Re: Improve tab completion for ALTER DEFAULT PRIVILEGE and ALTER TABLE - Mailing list pgsql-hackers

From vignesh C
Subject Re: Improve tab completion for ALTER DEFAULT PRIVILEGE and ALTER TABLE
Date
Msg-id CALDaNm216Gta60DrXbEYq6TsAo=x2K1w2C-uTYLax7Y_LyWexQ@mail.gmail.com
Whole thread Raw
In response to Improve tab completion for ALTER DEFAULT PRIVILEGE and ALTER TABLE  (vignesh C <vignesh21@gmail.com>)
List pgsql-hackers
On Sun, 2 Jul 2023 at 20:42, vignesh C <vignesh21@gmail.com> wrote:
>
> Hi,
>
> Improved tab completion for "ALTER DEFAULT PRIVILEGE" and "ALTER TABLE":
> 1) GRANT, REVOKE and FOR USER keyword was not displayed in tab
> completion of alter default privileges like the below statement:
> ALTER DEFAULT PRIVILEGES GRANT INSERT ON tables TO PUBLIC;
> ALTER DEFAULT PRIVILEGES REVOKE INSERT ON tables FROM PUBLIC;
> ALTER DEFAULT PRIVILEGES FOR USER vignesh revoke INSERT ON tables FROM dba1;
>
> 2) USER was not displayed for "ALTER DEFAULT PRIVILEGES IN SCHEMA
> public FOR " like in below statement:
> ALTER DEFAULT PRIVILEGES IN SCHEMA public FOR USER dba1 GRANT INSERT
> ON TABLES TO PUBLIC;
>
> 3) "FOR GRANT OPTION" was not display for "ALTER DEFAULT PRIVILEGES
> REVOKE " like in below statement:
> alter default privileges revoke grant option for select ON tables FROM dba1;
>
> 4) "DATA TYPE" was missing in "ALTER TABLE table-name ALTER COLUMN
> column-name SET" like in:
> ALTER TABLE t1 ALTER COLUMN c1 SET DATA TYPE text;
>
> Attached patch has the changes for the same.

Added a commitfest entry for this:
https://commitfest.postgresql.org/45/4587/

Regards,
Vignesh



pgsql-hackers by date:

Previous
From: Matthias van de Meent
Date:
Subject: Re: Improving btree performance through specializing by key shape, take 2
Next
From: Matthias van de Meent
Date:
Subject: Re: XLog size reductions: smaller XLRec block header for PG17