psql: Add tab completion for \copy pstdin and pstdout

From: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: psql: Add tab completion for \copy pstdin and pstdout
Date: 2025-12-31 09:39:53
Message-ID: 20251231183953.95132e171e43abd5e9b78084@sraoss.co.jp
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Commit 02fd47db improved tab completion for COPY FROM and COPY TO by
suggesting STDIN and STDOUT. How about also adding suggestions for
pstdin and pstdout in the case of the \copy meta-command?

I've attached a simple patch to add this.

Regards,
Yugo Nagata

--
Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>

Attachment Content-Type Size
0001-psql-Add-tab-completion-for-copy-pstdin-and-pstdout.patch text/x-diff 1.5 KB

Browse pgsql-hackers by date

  From Date Subject
Next Message Yugo Nagata 2025-12-31 09:40:20 Re: Fix comments on _bt_skiparray_strat_increment/decrement
Previous Message Bertrand Drouvot 2025-12-31 09:01:32 Re: Fix casting away const in _bt_reorder_array_cmp