X-Original-To: pgsql-admin-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 51E109FA64B for ; Mon, 19 Jun 2006 08:27:24 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 22994-06 for ; Mon, 19 Jun 2006 08:27:14 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from web30409.mail.mud.yahoo.com (web30409.mail.mud.yahoo.com [68.142.200.112]) by postgresql.org (Postfix) with SMTP id 658919FA3AF for ; Mon, 19 Jun 2006 08:27:13 -0300 (ADT) Received: (qmail 10596 invoked by uid 60001); 19 Jun 2006 11:27:11 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XwIgEFRGeQ+ThpXD1IaA7OPM6wGd+0d1EXOxzjQDHoG95C9lQ5l+heMP71C0JuRL70eFQe46VA/UM7NnCrTP2Gr99e31Nhre+yXOYIv9emuywmrll+Gdw4+XG+P+giedUN05NH2A97ldEO692GSP3UfEGnGvtHZ5K/N7Y0CG3mQ= ; Message-ID: <20060619112711.10594.qmail@web30409.mail.mud.yahoo.com> Received: from [203.115.30.220] by web30409.mail.mud.yahoo.com via HTTP; Mon, 19 Jun 2006 04:27:11 PDT Date: Mon, 19 Jun 2006 04:27:11 -0700 (PDT) From: TK Subject: "UNICODE" error during restoration To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-324448810-1150716431=:9306" Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200606/146 X-Sequence-Number: 22108 --0-324448810-1150716431=:9306 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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::13856: ERROR: invalid byte sequence for encoding "UNICODE": 0x85 .... psql::537916: ERROR: invalid byte sequence for encoding "UNICODE": 0xa0 ... psql::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 --0-324448810-1150716431=:9306 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 --0-324448810-1150716431=:9306--