X-Original-To: pgsql-admin@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 91991474E42 for ; Fri, 25 Apr 2003 16:45:30 -0400 (EDT) Received: from stamp.musicrebellion.com (ns2.musicrebellion.com [12.109.75.243]) by postgresql.org (Postfix) with ESMTP id A31B6475F16 for ; Fri, 25 Apr 2003 16:45:28 -0400 (EDT) Received: from [10.0.0.102] (helo=musicrebellion.com ident=kris) by stamp.musicrebellion.com with esmtp (Exim 3.35 #1 (Debian)) id 199A4X-0003JC-00 for ; Fri, 25 Apr 2003 15:45:29 -0500 Message-ID: <3EA99E68.9080004@musicrebellion.com> Date: Fri, 25 Apr 2003 15:45:28 -0500 From: Kris Kiger User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0) Gecko/20020623 Debian/1.0.0-0.woody.1 X-Accept-Language: en MIME-Version: 1.0 To: pgsql-admin@postgresql.org Subject: Problem restoring a table from 7.2.1 to 7.3.2 References: <3EA98DEE.AB4F960D@webhart.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-19.4 required=5.0 tests=BAYES_01,REFERENCES,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/365 X-Sequence-Number: 8520 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