Обсуждение: psql: Add tab completion for \copy pstdin and pstdout
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@sraoss.co.jp>
Вложения
On Wed, Dec 31, 2025 at 1:40 AM Yugo Nagata <nagata@sraoss.co.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. Regards, -- Masahiko Sawada Amazon Web Services: https://aws.amazon.com
Hi,
On Wed, Jan 7, 2026 at 6:06 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote:
On Wed, Dec 31, 2025 at 1:40 AM Yugo Nagata <nagata@sraoss.co.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.
On Wed, 7 Jan 2026 at 08:34, Srinath Reddy Sadipiralla <srinath2133@gmail.com> wrote: > > Hi, > > On Wed, Jan 7, 2026 at 6:06 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote: >> >> On Wed, Dec 31, 2025 at 1:40 AM Yugo Nagata <nagata@sraoss.co.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. [0] https://commitfest.postgresql.org/patch/6365/ -- Best regards, Kirill Reshke
On Wed, Jan 7, 2026 at 3:17 AM Kirill Reshke <reshkekirill@gmail.com> wrote: > > On Wed, 7 Jan 2026 at 08:34, Srinath Reddy Sadipiralla > <srinath2133@gmail.com> wrote: > > > > Hi, > > > > On Wed, Jan 7, 2026 at 6:06 AM Masahiko Sawada <sawada.mshk@gmail.com> wrote: > >> > >> On Wed, Dec 31, 2025 at 1:40 AM Yugo Nagata <nagata@sraoss.co.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