Re: Fixing backslash dot for COPY FROM...CSV - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fixing backslash dot for COPY FROM...CSV
Date
Msg-id 1403113.1712344361@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fixing backslash dot for COPY FROM...CSV  ("Daniel Verite" <daniel@manitou-mail.org>)
Responses Re: Fixing backslash dot for COPY FROM...CSV
List pgsql-hackers
"Daniel Verite" <daniel@manitou-mail.org> writes:
>     Tom Lane wrote:
>> Not sure what to do here.  One idea is to install just the psql-side
>> fix, which should break nothing now that version-2 protocol is dead,
>> and then wait a few years before introducing the server-side change.
>> That seems kind of sad though.

> Wouldn't backpatching solve this?

No, it'd just reduce the surface area a bit.  People on less-than-
the-latest-minor-release would still have the issue.  In any case
back-patching further than v14 would be a nonstarter, because we
didn't remove protocol v2 support till then.

However, the analogy to "\d commands might fail against a newer
server" reduces my level of concern quite a lot: it's hard to
draw much of a line separating that kind of issue from "inline
COPY CSV will fail against a newer server".  It's not like such
failures won't be obvious and fairly easy to diagnose.

            regards, tom lane



pgsql-hackers by date:

Previous
From: stephane tachoires
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Next
From: Tomas Vondra
Date:
Subject: Re: pg_combinebackup --copy-file-range