From: | Fujii Masao <fujii(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: psql: Fix tab-completion after GRANT/REVOKE on LARGE OBJECT and |
Date: | 2025-07-15 09:53:28 |
Message-ID: | E1ubcLo-006OVB-1x@gemulon.postgresql.org |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
psql: Fix tab-completion after GRANT/REVOKE on LARGE OBJECT and FOREIGN SERVER.
Previously, when pressing Tab after GRANT or REVOKE ... ON LARGE OBJECT
or ON FOREIGN SERVER, TO or FROM was incorrectly suggested by psql's
tab-completion. This was not appropriate, as those clauses are not valid
at that point.
This commit fixes the issue by preventing TO and FROM from being offered
immediately after those specific GRANT/REVOKE statements.
Author: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
Reviewed-by: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
Discussion: https://postgr.es/m/20250408122857.b2b06dde4e6a08290af02336@sraoss.co.jp
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/ff0bcb248e6ef337902cb26266606c1ab4ea4048
Modified Files
--------------
src/bin/psql/tab-complete.in.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | noreply | 2025-07-15 20:32:05 | pgsql: Tag refs/tags/REL_18_BETA2 was created |
Previous Message | Michael Paquier | 2025-07-15 07:08:22 | pgsql: Fix comments in index.c |