Re: ERROR: COPY quote must be a single ASCII character

Поиск
Список
Период
Сортировка
Искать
От
Colin Wetherbee
Тема
Re: ERROR: COPY quote must be a single ASCII character
Дата
Msg-id
47AC6A6D.2050403@denterprises.org
Ответ на
Список
Дерево обсуждения
ERROR: COPY quote must be a single ASCII character Andrej Kastrin <andrej.kastrin@siol.net>
Re: ERROR: COPY quote must be a single ASCII character Colin Wetherbee <cww@denterprises.org>
Re: ERROR: COPY quote must be a single ASCII character Andrej Kastrin <andrej.kastrin@siol.net>
Re: ERROR: COPY quote must be a single ASCII character brian <brian@zijn-digital.com>
Re: ERROR: COPY quote must be a single ASCII character "Scott Marlowe" <scott.marlowe@gmail.com>
Andrej Kastrin wrote:
> ||5354235||,||some text...|| ||1234567||,||some text...|| 
> ||1234568||,||some text...||
> 
> The sql statement I defined was:
> 
> COPY testtable FROM 'test.txt' WITH DELIMITER AS ',' CSV QUOTE AS
> '||';
> 
> but the error:
> 
> ERROR: COPY quote must be a single ASCII character

I guess I'm stating the obvious here, but can you just change your 
'||' quotes to a single character within the file?

Colin
В списке pgsql-general по дате отправления
От: Hiroshi Saito
Дата:
От: Andrej Kastrin
Дата:
FAQ