From: Kris Kiger <kris@musicrebellion.com>
To: pgsql-admin@postgresql.org
Subject: Problem restoring a table from 7.2.1 to 7.3.2
Date: Fri, 25 Apr 2003 15:45:28 -0500
Message-ID: <3EA99E68.9080004@musicrebellion.com> (raw)
References: <3EA98DEE.AB4F960D@webhart.net>
I have sucessfully dumped a table from my 7.2.1 database with:
pg_dump -t table1 -D -U postgres -Ft main > table1.tar
I am trying to use pg_restore to put this table into a 7.3.2 database with:
pg_restore -t table1 -d databaseX -v -Ft -U postgres table1.tar
However I am recieving this error:
pg_restore: connecting to database for restore
pg_restore: creating TABLE table1
pg_restore: connecting to database databaseX as user meep
pg_restore: restoring data for table table1
pg_restore: [archiver (db)] could not execute query: ERROR: Invalid
UNICODE character sequence found (0xd141)
pg_restore: *** aborted because of error
I understand the error, but I do not understand why there may be an
invalid unicode character present. The database I am moving from
(7.2.1) stores text as unicode.
The table restores the first 852 items in the table, so I un-tarred the
dump and took a look at the 853 insert. It looked fine to me, so I
pasted the insert into psql and it processed just fine. No invalid
unicode character exception thrown. Maybe I'm looking at this the wrong
way, but I'm out of ideas. Thanks for the help!
Kris
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: kris@musicrebellion.com
Subject: Re: Problem restoring a table from 7.2.1 to 7.3.2
In-Reply-To: <3EA99E68.9080004@musicrebellion.com>
References: <3EA98DEE.AB4F960D@webhart.net> <3EA99E68.9080004@musicrebellion.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