Re: psql: Add tab completion for \copy pstdin and pstdout

From: Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com>
To: Kirill Reshke <reshkekirill(at)gmail(dot)com>
Cc: Srinath Reddy Sadipiralla <srinath2133(at)gmail(dot)com>, Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql: Add tab completion for \copy pstdin and pstdout
Date: 2026-01-08 00:24:38
Message-ID: CAD21AoB=WJBHU_LKVrckM9DU_pjAKKNXjDAedKve1=rdHDk1cA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jan 7, 2026 at 3:17 AM Kirill Reshke <reshkekirill(at)gmail(dot)com> wrote:
>
> On Wed, 7 Jan 2026 at 08:34, Srinath Reddy Sadipiralla
> <srinath2133(at)gmail(dot)com> wrote:
> >
> > Hi,
> >
> > On Wed, Jan 7, 2026 at 6:06 AM Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> wrote:
> >>
> >> On Wed, Dec 31, 2025 at 1:40 AM Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp> wrote:
> >> >
> >> > 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.
> >>
> >> +1
> >>
> >> The patch is quite simple and looks good to me. I'll push it, barring
> >> any objections.
> >
> >
> > +1, I have reviewed it and LGTM.
> >
> > --
> > Thanks,
> > Srinath Reddy Sadipiralla
> > EDB: https://www.enterprisedb.com/
>
> Hi!
> I changed CF entry [0] and changed status to RFC.
> Patch looks good.

Pushed. I've marked the entry as committed.

Regards,

--
Masahiko Sawada
Amazon Web Services: https://aws.amazon.com

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2026-01-08 00:24:52 Re: improve performance of pg_dump with many sequences
Previous Message Álvaro Herrera 2026-01-08 00:18:50 Re: Issues with ON CONFLICT UPDATE and REINDEX CONCURRENTLY