pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Masahiko Sawada <msawada@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: psql: Add tab completion for COPY ... PROGRAM.
Date: Tue, 04 Nov 2025 18:52:18 +0000
Message-ID: <E1vGM8g-0052Co-2P@gemulon.postgresql.org> (raw)

psql: Add tab completion for COPY ... PROGRAM.

This commit adds tab completion support for COPY TO PROGRAM and COPY
FROM PROGRAM syntax in psql.

Author: Yugo Nagata <nagata@sraoss.co.jp>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/20250605100835.b396f9d656df1018f65a4556@sraoss.co.jp

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6d2ff1de4d0b66eb0288e21021c3741b9df1df0d

Modified Files
--------------
src/bin/psql/tab-complete.in.c | 51 ++++++++++++++++++++++++++----------------
1 file changed, 32 insertions(+), 19 deletions(-)



Message-ID: <E1vGM8g-0052Co-2P@gemulon.postgresql.org>
Permalink:  ../E1vGM8g-0052Co-2P@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1vGM8g-0052Co-2P@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: msawada@postgresql.org, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: psql: Add tab completion for COPY ... PROGRAM.
  In-Reply-To: <E1vGM8g-0052Co-2P@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