Re: backslash-dot quoting in COPY CSV

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: backslash-dot quoting in COPY CSV
Дата
Msg-id 20190131003935.GD16781@paquier.xyz
обсуждение исходный текст
Ответ на Re: backslash-dot quoting in COPY CSV  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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

Вложения

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Unused parameters & co in code
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] Pass COPT and PROFILE to CXXFLAGS as well