pgsql: Add more tab completion support for ALTER DEFAULT PRIVILEGES in - Mailing list pgsql-committers

From Masahiko Sawada
Subject pgsql: Add more tab completion support for ALTER DEFAULT PRIVILEGES in
Date
Msg-id E1rtfU1-0013ys-3z@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add more tab completion support for ALTER DEFAULT PRIVILEGES in psql.

This adds tab completion of "GRANT" and "REVOKE [GRANT OPTION FOR]"
for ALTER DEFAULT PRIVILEGES, and adds "WITH GRANT OPTION" for
ALTER DEFAULT PRIVILEGES ... GRANT ... TO role.

Author: Vignesh C, with cosmetic adjustments by me
Reviewed-by: Shubham Khanna, Masahiko Sawada
Discussion: https://postgr.es/m/CALDaNm1aEdJb-QJi%3DGWStkfj_%2BEDUK_VtDkn%2BTjQ2z7HyU0MBw%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/304b6b1a6b7116bae30ea24119f04474eba7f0ed

Modified Files
--------------
src/bin/psql/tab-complete.c | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)


pgsql-committers by date:

Previous
From: Peter Geoghegan
Date:
Subject: [MASSMAIL]pgsql: Remove redundant nbtree preprocessing assertions.
Next
From: John Naylor
Date:
Subject: pgsql: Fix alignment of stack variable