Re: Invalid byte sequence when importing Oracle BLOB

Поиск
Список
Период
Сортировка
От Peter J. Holzer
Тема Re: Invalid byte sequence when importing Oracle BLOB
Дата
Msg-id 20210426123259.GB26434@hjp.at
обсуждение исходный текст
Ответ на Invalid byte sequence when importing Oracle BLOB  (Ron <ronljohnsonjr@gmail.com>)
Ответы Re: Invalid byte sequence when importing Oracle BLOB  (Ron <ronljohnsonjr@gmail.com>)
Список pgsql-general
On 2021-04-26 06:49:18 -0500, Ron wrote:
> The destination is an (RDS) Postgresql 12.5 with encoding UTF8, and is being
> loaded through COPY commands generated by ora2pg.
>
> The source table has a BLOB column (I think they are scanned images) which
> I'm loading into a Postgresql bytea column.
>
> Seven times out of about 60M rows, I get this error:
> Psql:909242: ERROR:  invalid byte sequence for encoding "UTF8": 0xed 0xaf 0xbf

Decoding UTF8 doesn't make sense for a bytea column. How does that data
look like in the file generated by ora2pg?

        hp

--
   _  | Peter J. Holzer    | Story must make more sense than reality.
|_|_) |                    |
| |   | hjp@hjp.at         |    -- Charles Stross, "Creative writing
__/   | http://www.hjp.at/ |       challenge!"

Вложения

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

Предыдущее
От: "Peter J. Holzer"
Дата:
Сообщение: Re: BRIN index on timestamptz
Следующее
От: Ron
Дата:
Сообщение: Re: Invalid byte sequence when importing Oracle BLOB