Re: Help with COPY Error: invalid UTF-8 byte ....

Поиск
Список
Период
Сортировка
От Richard Huxton
Тема Re: Help with COPY Error: invalid UTF-8 byte ....
Дата
Msg-id 438B16CA.3060806@archonet.com
обсуждение исходный текст
Ответ на Help with COPY Error: invalid UTF-8 byte ....  (Alex <alex@meerkatsoft.com>)
Список pgsql-general
Alex wrote:
> Hi,
> I am having a problem with a copy command, saying ERROR: invalid UTF-8
> byte sequence detected...
>
> The problem actually is that the entire copy job terminates instead of
> just ignoring the record in question.
>
> Is there a way to have faulty records ignored only without terminating
> the entire copy job?

Not with COPY - you might want to look for a project called (iirc)
"pgloader" though which might be useful to you.

--
   Richard Huxton
   Archonet Ltd

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Errors with temporary tables
Следующее
От: Haim Ashkenazi
Дата:
Сообщение: Re: need help in designing a database.