psql: Improve tab completion for large objects.

This commit enhances psql's tab completion support for large objects:
- Completes \lo_export <oid> with a file name
- Completes GRANT/REVOKE ... LARGE with OBJECT
- Completes ALTER DEFAULT PRIVILEGES GRANT/REVOKE ... LARGE with OBJECTS

Author: Dagfinn Ilmari MannsÃ¥ker <[email protected]>
Co-authored-by: Fujii Masao <[email protected]>
Reviewed-by: Chao Li <[email protected]>
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/14ee8e6403001c3788f2622cdcf81a8451502dc2

Modified Files
--------------
src/bin/psql/tab-complete.in.c | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)

Reply via email to