| От | Tom Lane |
|---|---|
| Тема | Re: [PATCHES] allow CSV quote in NULL |
| Дата | |
| Msg-id | 26707.1185902480@sss.pgh.pa.us обсуждение |
| Ответ на | Re: [PATCHES] allow CSV quote in NULL (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: [PATCHES] allow CSV quote in NULL
|
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes:
> ... Oh, and if we did allow the
> quote char we should surely only allow it on input - just because other
> programs produce absurd output there is not reason we should.
Yeah. The *real* problem with the patch as proposed is that it allows a
COPY OUT to emit a file that cannot be reloaded correctly, even given
the same options used to prepare it. I think that the restrictions were
put there more to prevent that scenario than to restrict COPY IN.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера