| From: | Fujii Masao <fujii(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: psql: Improve tab completion for GRANT/REVOKE CREATE |
| Date: | 2026-10-07 11:55:17 |
| Message-ID: | E1xEQEv-00000000gV9-1eJ6@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
psql: Improve tab completion for GRANT/REVOKE CREATE
Complete GRANT CREATE, REVOKE CREATE, and REVOKE GRANT OPTION FOR CREATE
with ON. Previously, the generic CREATE completion rule took precedence
and suggested object types such as TABLE.
Exclude these cases from the CREATE completion rule so that the existing
GRANT/REVOKE rules can handle them.
Author: Haruna Miwa <miwa(at)sraoss(dot)co(dot)jp>
Reviewed-by: Sho Ito <i(dot)sho(dot)0628(at)gmail(dot)com>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/OSOP286MB78539E88C47403451BFFF140F18A2@OSOP286MB7853.JPNP286.PROD.OUTLOOK.COM
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/00e917ef651120c261625b11a35b54990406f069
Modified Files
--------------
src/bin/psql/tab-complete.in.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Álvaro Herrera | 2026-10-07 12:25:27 | pgsql: Revamp REPACK doc refentry page |
| Previous Message | Fujii Masao | 2026-10-07 10:12:54 | pgsql: Fix remote_apply waits with wal_receiver_status_interval set to |