psql: Fix tab-completion after GRANT/REVOKE on LARGE OBJECT and FOREIGN SERVER.
Fujii Masao <fujii@postgresql.org>
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@sraoss.co.jp> Reviewed-by: Fujii Masao <masao.fujii@gmail.com> Discussion: https://postgr.es/m/20250408122857.b2b06dde4e6a08290af02336@sraoss.co.jp
Files
| Path | Change | +/− |
|---|---|---|
| src/bin/psql/tab-complete.in.c | modified | +8 −4 |
Discussion
- Extend ALTER DEFAULT PRIVILEGES for large objects 27 messages · 2024-04-24 → 2025-07-16