Re: bug in COPY implementation (all versions of Postgres)?

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: bug in COPY implementation (all versions of Postgres)?
Дата
Msg-id kjo519$2lv$1@gonzo.reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на bug in COPY implementation (all versions of Postgres)?  (Konstantin Izmailov <pgfizm@gmail.com>)
Список pgsql-general
On 2013-04-05, Konstantin Izmailov <pgfizm@gmail.com> wrote:
>
> 2. Insert value 'Galaxy\040Tab' using command COPY TEST(description) FROM
> stdin WITH DELIMITER '|' CSV.
>
> The following error is returned: value too long for type character
> varying(10)

CSV is essentially a binary format. there is no ecaping in CSV (except
quotes are doubled inside quoted values)

In CSV format \040 is 4 characters.

--
⚂⚃ 100% natural

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

Предыдущее
От: Jasen Betts
Дата:
Сообщение: Re: Using varchar primary keys.
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: Need advice to avoid ORDER BY