Re: Removing support for COPY FROM STDIN in protocol version 2

From: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
Cc: Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Removing support for COPY FROM STDIN in protocol version 2
Date: 2021-02-04 15:47:05
Message-ID: fdd28184-3832-65af-53c3-5c303383c4a5@iki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 04/02/2021 17:35, Tom Lane wrote:
> Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org> writes:
>> Yeah, the changes I was thinking about are all in libpq-int.h so that's
>> not really a problem. But one enum in libpq-fe.h renumbers values, and
>> I think it's better to keep the old value labelled as "unused" to avoid
>> any changes.
>
> Oh, yeah, can't do that. libpq-fe.h probably shouldn't change at all;
> but certainly we can't renumber existing enum values there.

Ah, right, there's even a comment above the enum that says that's a no
no. But yeah, fixing that, I see no need for .so version bump.

- Heikki

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Julien Rouhaud 2021-02-04 16:06:24 Re: Faulty HEAP_XMAX_LOCK_ONLY & HEAP_KEYS_UPDATED hintbit combination
Previous Message Tom Lane 2021-02-04 15:35:13 Re: Removing support for COPY FROM STDIN in protocol version 2