]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Add more tab completion support for ALTER DEFAULT PRIVILEGES in psql.
authorMasahiko Sawada <msawada@postgresql.org>
Mon, 8 Apr 2024 03:15:10 +0000 (12:15 +0900)
committerMasahiko Sawada <msawada@postgresql.org>
Mon, 8 Apr 2024 03:15:10 +0000 (12:15 +0900)
commit304b6b1a6b7116bae30ea24119f04474eba7f0ed
tree081dde8446d53087e943c50cf9a194759dd6a26d
parent3b08133cd13c4ac985a94222280160282ba35838
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
src/bin/psql/tab-complete.c