From: John DeSoi <desoi@pgedit.com>
To: dbadmin@nqadmin.com
Cc: pgsql-admin@postgresql.org
Subject: Re: Invalid UTF8 & Large Objects
Date: Wed, 26 Apr 2006 00:55:47 -0400
Message-ID: <3CD2AC11-A33B-4847-AC9F-1BF74B6EBDCA@pgedit.com> (raw)
In-Reply-To: <444E83EA.7030808@nqadmin.com>
References: <444E83EA.7030808@nqadmin.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: desoi@pgedit.com, dbadmin@nqadmin.com
Subject: Re: Invalid UTF8 & Large Objects
In-Reply-To: <3CD2AC11-A33B-4847-AC9F-1BF74B6EBDCA@pgedit.com>
References: <444E83EA.7030808@nqadmin.com> <3CD2AC11-A33B-4847-AC9F-1BF74B6EBDCA@pgedit.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox