Re: Improve tab completion for COPY

From: Yugo Nagata <nagata(at)sraoss(dot)co(dot)jp>
To: torikoshia <torikoshia(at)oss(dot)nttdata(dot)com>
Cc: <sawada(dot)mshk(at)gmail(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Improve tab completion for COPY
Date: 2025-06-10 02:59:54
Message-ID: 20250610115954.fac87b39e5dfb91e32071b10@sraoss.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 10 Jun 2025 11:15:09 +0900
torikoshia <torikoshia(at)oss(dot)nttdata(dot)com> wrote:

> On 2025-06-03 17:58, Yugo Nagata wrote:
> > Thank you for updating the patch.
> > It looks good and I confirmed that this works as expected.
>
> Thanks for your review!
>
> BTW this is a small patch, but it does two things:
>
> (1) adds tab completion support for the REJECT_LIMIT option, which was
> introduced in v18
> (2) splits the tab completion logic between COPY FROM and COPY TO to
> reflect their different options.
>
> While maybe (2) should be postponed to v19 or later, I think it would be
> better to include (1) in v18.
> So I’ve split them into separate patches accordingly.

I am not convinced whether (1) should be regarded as a v18-related oversight
or a new feature, but if this is a oversight, this should be added to the open
items list?

https://wiki.postgresql.org/wiki/PostgreSQL_18_Open_Items

Regards,
Yugo Nagata

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nisha Moond 2025-06-10 03:15:38 Re: Logical Replication of sequences
Previous Message Michael Paquier 2025-06-10 02:58:13 Re: Cleanup gcc trick with varattrib_1b_e in VARATT_EXTERNAL_GET_POINTER()