Re: backslash-dot quoting in COPY CSV - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: backslash-dot quoting in COPY CSV
Date
Msg-id 20190131003935.GD16781@paquier.xyz
Whole thread Raw
In response to Re: backslash-dot quoting in COPY CSV  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Wed, Jan 30, 2019 at 01:20:59PM -0500, Tom Lane wrote:
> Given how long we've had COPY CSV support, and the tiny number of
> complaints to date, I do not think it's something to panic over.
> Disallowing the functionality altogether is surely an overreaction.
>
> A documentation warning might be the appropriate response.  I don't
> see any plausible way for psql to actually fix the problem, short
> of a protocol change to allow the backend to tell it how the data
> stream is going to be parsed.

Yes, agreed.  I looked at this problem a couple of months (year(s)?)
ago and gave up on designing a clear portable solution after a couple
of hours over it, and that's quite a corner case.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: Unused parameters & co in code
Next
From: Michael Paquier
Date:
Subject: Re: [PATCH] Pass COPT and PROFILE to CXXFLAGS as well