Re: Hex characters in COPY input

Поиск
Список
Период
Сортировка
От Vick Khera
Тема Re: Hex characters in COPY input
Дата
Msg-id CALd+dceyY73-7vPux-CmFiF3d+gU=c0R36fGfK-ceBrjztx3ww@mail.gmail.com
обсуждение исходный текст
Ответ на Hex characters in COPY input  (Melvin Call <melvincall979@gmail.com>)
Ответы Re: Hex characters in COPY input
Список pgsql-general

On Thu, Feb 26, 2015 at 9:50 PM, Melvin Call <melvincall979@gmail.com> wrote:
Montreal where the e is an accented e. The output ends up in the text file as
Montr\xe9al, where the xe9 is a single character. When I try to copy that into
my PostgreSQL table, I get an error "ERROR:  invalid byte sequence for encoding

Character code E9 is not UTF8. Don't tell Postgres you're importing UTF8 if you're not.

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

Предыдущее
От: Melvin Call
Дата:
Сообщение: Hex characters in COPY input
Следующее
От: Marc Mamin
Дата:
Сообщение: Re: range type expression syntax