"UNICODE" error during restoration

From: TK <kthusi(at)yahoo(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: "UNICODE" error during restoration
Date: 2006-06-19 11:27:11
Message-ID: 20060619112711.10594.qmail@web30409.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Browse pgsql-admin by date

  From Date Subject
Next Message Sriram Dandapani 2006-06-19 17:11:49 truncate partitioned table locking
Previous Message Infor Gates 2006-06-19 01:02:50 Re: pg_restore