Backup and restore UTF8 data

Поиск
Список
Период
Сортировка
От Benjamin Arai
Тема Backup and restore UTF8 data
Дата
Msg-id 45A82186.1020008@araisoft.com
обсуждение исходный текст
Ответы Re: Backup and restore UTF8 data  (Devrim GUNDUZ <devrim@CommandPrompt.com>)
Список pgsql-general
Hi,

I am trying to backup an installation (8.0.3) and restore it to a new
(8.2.1) installation.  I am am running the following command the backup
the data.

pg_dumpall > outfile

Then on the new machine I am simply running:

ENCODING=UTF8 psql -f outfile postgres

I get the following error for some of the records.

psql:outfile:151275: ERROR:  invalid byte sequence for encoding "UTF8": 0x92

Does anybody know what I can do to fix this?

Benjamin

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

Предыдущее
От: "Simon Riggs"
Дата:
Сообщение: Re: Autovacuum Improvements
Следующее
От: Devrim GUNDUZ
Дата:
Сообщение: Re: Backup and restore UTF8 data