COPY and Unicode...

Поиск
Список
Период
Сортировка
От Cristian Prieto
Тема COPY and Unicode...
Дата
Msg-id 20050921195703.1F20B10141@mail.clickdiario.com
обсуждение исходный текст
Ответы Re: COPY and Unicode...  (Douglas McNaught <doug@mcnaught.org>)
Re: COPY and Unicode...  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
Hello, I need to import some amount of data using the COPY command, the main
trouble I found is that the Database is in UNICODE format and the data in
ASCII Latin-1 codepage, when I try to import it, COPY respond with:

ERROR:  invalid byte sequence for encoding "UNICODE": 0xe9
CONTEXT:  COPY geoip_location, line 307, column city: "Yaound"

I've been looking into the documentation and I could not found any reference
in copy from a distinct codepage than the used by the database, any help?

Thanks a lot!


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

Предыдущее
От: Scott Marlowe
Дата:
Сообщение: Re: Postgres locks table schema?
Следующее
От: CSN
Дата:
Сообщение: index row size exceeds btree maximum