From: TK <kthusi@yahoo.com>
To: pgsql-admin@postgresql.org
Subject: "UNICODE" error during restoration
Date: Mon, 19 Jun 2006 04:27:11 -0700 (PDT)
Message-ID: <20060619112711.10594.qmail@web30409.mail.mud.yahoo.com> (raw)
Hi,
We took a dump of a database running PostgreSQL 7.3.10 (on Gentoo Linux).
We tried to restore it onto a server running PostgreSQL 7.4.13 (on Gentoo Linux). This resulted in the following errors:
psql:<stdin>:13856: ERROR: invalid byte sequence for encoding "UNICODE": 0x85
....
psql:<stdin>:537916: ERROR: invalid byte sequence for encoding "UNICODE": 0xa0
...
psql:<stdin>:1009873: ERROR: invalid byte sequence for encoding "UNICODE": 0x92
...
etc.
We tried to restore the same dump on a server running PostgreSQL 7.3.9 (on Gentoo Linux) and the restoration was successful.
It also worked without any problem on a server running PostgreSQL 7.4.5 (on Gentoo Linux).
All the databases in this scenario were of UNICODE encoding type.
What could be the reson for this, and how can we avoid this?
Thanks in advance,
-Thusitha
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: kthusi@yahoo.com
Subject: Re: "UNICODE" error during restoration
In-Reply-To: <20060619112711.10594.qmail@web30409.mail.mud.yahoo.com>
References: <20060619112711.10594.qmail@web30409.mail.mud.yahoo.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