ERROR: COPY quote must be a single ASCII character - Mailing list pgsql-general

From Andrej Kastrin
Subject ERROR: COPY quote must be a single ASCII character
Date
Msg-id 47AC5EA5.3090807@siol.net
Whole thread Raw
Responses Re: ERROR: COPY quote must be a single ASCII character
List pgsql-general
Dear all,

I have to copy the file with the following delimiters into the database:

||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

Any solution? Thank you in advance.

Best, Andrej

pgsql-general by date:

Previous
From: luca.ciciriello@email.it
Date:
Subject: hyperthreading and pqlib
Next
From: "bh yuan"
Date:
Subject: Re: character conversion problem about UTF-8-->SHIFT_JIS_2004