Re: Libpq PGRES_COPY_BOTH - version compatibility - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Libpq PGRES_COPY_BOTH - version compatibility
Date
Msg-id 18890.1293547639@sss.pgh.pa.us
Whole thread Raw
In response to Re: Libpq PGRES_COPY_BOTH - version compatibility  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
Robert Haas <robertmhaas@gmail.com> writes:
> On Tue, Dec 28, 2010 at 7:13 AM, Magnus Hagander <magnus@hagander.net> wrote:
>> Also, I notice that PGRES_COPY_BOTH was inserted "in the middle" of
>> the enum. Doesn't that mean we can get incorrect values for e.g.
>> PGRES_FATAL_ERROR if the client is built against one version of libpq
>> but executes against another? Shouldn't all such enum values always be
>> added at the end?

> I think you are right, and that we should fix this.

Yes, that was a completely wrong move :-(
        regards, tom lane


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: "writable CTEs"
Next
From: "Kevin Grittner"
Date:
Subject: Re: estimating # of distinct values