]> git.ipfire.org Git - thirdparty/postgresql.git/commit
psql: Improve psql tab completion for GRANT/REVOKE on large objects.
authorFujii Masao <fujii@postgresql.org>
Wed, 9 Jul 2025 11:33:50 +0000 (20:33 +0900)
committerFujii Masao <fujii@postgresql.org>
Wed, 9 Jul 2025 11:33:50 +0000 (20:33 +0900)
commit86c539c5af14f42ee274c03b5eeb3c97ee5b1ec1
tree1a01d7a42b23f4e665bd989f890f613cbc7f6571
parented26c4e25a444fcdd8a9120d4fe4b5a08d2b262b
psql: Improve psql tab completion for GRANT/REVOKE on large objects.

This commit enhances psql's tab completion to support TO/FROM
after "GRANT/REVOKE ... ON LARGE OBJECT ...". Additionally,
since "ALTER DEFAULT PRIVILEGES" now supports large objects,
tab completion is also updated for "GRANT/REVOKE ... ON LARGE OBJECTS"
with TO/FROM.

Author: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Yugo Nagata <nagata@sraoss.co.jp>
Discussion: https://postgr.es/m/ade0ab29-777f-47f6-9d0d-1af67728a86e@oss.nttdata.com
src/bin/psql/tab-complete.in.c