pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <fujii@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: Improve tab completion for large objects.
Date: Fri, 24 Oct 2025 05:31:50 +0000
Message-ID: <E1vCAP0-003EpB-0U@gemulon.postgresql.org> (raw)

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 <ilmari@ilmari.org>
Co-authored-by: Fujii Masao <masao.fujii@gmail.com>
Reviewed-by: Chao Li <lic@highgo.com>
Discussion: https://postgr.es/m/87y0syikki.fsf@wibble.ilmari.org

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(-)



Message-ID: <E1vCAP0-003EpB-0U@gemulon.postgresql.org>
Permalink:  ../E1vCAP0-003EpB-0U@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vCAP0-003EpB-0U@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: fujii@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: psql: Improve tab completion for large objects.
  In-Reply-To: <E1vCAP0-003EpB-0U@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox