Re: COPY for CSV documentation

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: COPY for CSV documentation
Дата
Msg-id 40789638.50909@dunslane.net
обсуждение исходный текст
Ответ на Re: COPY for CSV documentation  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: COPY for CSV documentation  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches

Bruce Momjian wrote:

>I have reviewed this patch.  Basically, CSV is enabled by specifying
>more than one delimiter character to COPY, e.g. DELIMITER ',"' or
>DELIMITER ',""'.  Is this API good for folks?
>

(if not I'll be displeased, as it is what was the general consensus
about a month ago)

>
>Prior to 7.2, a multi-character delimiter could be specified, but only
>the first character was used.  7.2 release notes state:
>
>     * COPY DELIMITERS string must be exactly one character (Tom)
>
>I am a little worried about multibyte too, as you mentioned.
>

I am not sure that CSVs even make sense in a multibyte world. If not, it
would make sense to disable it in such a case.

(Is that your only worry?)

cheers

andrew





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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: COPY for CSV documentation
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] Function to kill backend