Re: Can't restore a pg_dump due to encoding errors

Поиск
Список
Период
Сортировка
От Dan Harris
Тема Re: Can't restore a pg_dump due to encoding errors
Дата
Msg-id 46180DE1.2050908@drivefaster.net
обсуждение исходный текст
Ответ на Can't restore a pg_dump due to encoding errors  (Dan Harris <fbsd@drivefaster.net>)
Список pgsql-admin
Dan Harris wrote:
> Hello all:
>
> I'm in a bit of a bind here.  Today is my maintenance window for
> upgrading from 8.0.3 to 8.2.3.  I did a pg_dumpall overnight ( resulting
> in a 72GB file ) and then a pg_dump on one of my small databases this
> morning to test pg_restore. When trying to reload, I'm getting the
> following error:
>
> psql:sac.bak:2793776: ERROR:  invalid byte sequence for encoding "UTF8":
> 0x92

I found the utility 'iconv', which sounds like it addresses this problem.  I ran
the utility against the dump file and then it loaded without error.. Just
validating that the data is indeed there.




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

Предыдущее
От: adey
Дата:
Сообщение: Re: Can't restore a pg_dump due to encoding errors
Следующее
От: "Simon Riggs"
Дата:
Сообщение: Re: Hot Backup using WAL files