diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-11-18 11:26:49 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-11-18 11:26:49 +0900 |
commit | 07f7237c2a3bcc2eebb554f812378188b07571bb (patch) | |
tree | d947968a48f48431aadf3bbfec04041eaabd6b20 /src/backend/commands/variable.c | |
parent | 967db242c2aa7d50300e20bd8a403bd905feec38 (diff) | |
download | postgresql-07f7237c2a3bcc2eebb554f812378188b07571bb.tar.gz postgresql-07f7237c2a3bcc2eebb554f812378188b07571bb.zip |
psql: Improve tab completion for GRANT/REVOKE
This commit improves the handling of the following clauses:
- Addition of "CREATE" for ALTER DEFAULT PRIVILEGES .. GRANT/REVOKE.
- Addition of GRANT|ADMIN|INHERIT OPTION FOR for REVOKE, with some
completion for roles, INHERIT being added recently by e3ce2de.
- Addition of GRANT WITH ADMIN|INHERIT.
The list of privilege options common to GRANT and REVOKE is refactored
to avoid its duplication.
Author: Shi Yu
Reviewed-by: Kyotaro Horiguchi, Michael Paquier, Peter Smith
Discussion: https://postgr.es/m/OSZPR01MB6310FCE8609185A56344EED2FD559@OSZPR01MB6310.jpnprd01.prod.outlook.com
Diffstat (limited to 'src/backend/commands/variable.c')
0 files changed, 0 insertions, 0 deletions