Re: Invalid UTF8 & Large Objects

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: Invalid UTF8 & Large Objects
Дата
Msg-id 3CD2AC11-A33B-4847-AC9F-1BF74B6EBDCA@pgedit.com
обсуждение исходный текст
Ответ на Invalid UTF8 & Large Objects  (Prasanth <dbadmin@nqadmin.com>)
Ответы Re: Invalid UTF8 & Large Objects  (Prasanth <dbadmin@nqadmin.com>)
Список pgsql-admin
On Apr 25, 2006, at 4:17 PM, Prasanth wrote:

> But then my problem is I have to do a text dump to use iconv in which
> case I will loose the large objects.
> I tried using the iconv on the dump generated using the -Fc option and
> then when I try to restore that  I am getting the following error
> pg_restore: [archiver] entry ID 0 out of range -- perhaps a corrupt
> TOC

-Fc produces a binary format, so you can't use iconv on it. One
option might be to write a script to export your large objects, dump
text only and fix with iconv, then reload the database and import the
large objects.



John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL


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

Предыдущее
От: "Jason Minion"
Дата:
Сообщение: Re: dbsize & pg_dump
Следующее
От: "sandhya"
Дата:
Сообщение: problem with .asp and.js files pls..help me