Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id B1AC2475D1C for ; Tue, 17 Dec 2002 02:38:28 -0500 (EST) Received: from delta.japan.ea.com (unknown [159.153.168.228]) by postgresql.org (Postfix) with ESMTP id 7C653475AAC for ; Tue, 17 Dec 2002 02:38:27 -0500 (EST) Received: from apex.eaj.ea.com (apex.eaj.ea.com [10.90.5.25]) by delta.japan.ea.com (8.11.0/8.11.4) with ESMTP id gBH7nwI25699 for ; Tue, 17 Dec 2002 16:49:58 +0900 (JST) Received: (from mdoughty@localhost) by apex.eaj.ea.com (8.11.6/8.11.0) id gBH7cR000883 for pgsql-admin@postgresql.org; Tue, 17 Dec 2002 16:38:27 +0900 (JST) Date: Tue, 17 Dec 2002 16:38:27 +0900 From: Matt Doughty To: pgsql-admin@postgresql.org Subject: failed import Message-ID: <20021217073827.GG21612@japan.ea.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200212/220 X-Sequence-Number: 6715 Hi guys I have searched the archives, and am out of ideas. I am trying to migrate a database that is EUC_JP encoded, and has large objects from 7.1 to 7.2.2. I used pg_dump -Fc -b to dump the database, and then I used pg_restore -d , but it is dying mid import with the following error: pg_restore: NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'pk_announce_id' for table 'store_announce' ERROR: copy: line 4, Invalid EUC_JP character sequence found (0x927c) FATAL 1: Socket command type 1 unknown pg_restore: [archiver (db)] error returned by PQputline Anyone, with any clue here please let me know. I will be eternally grateful. :) --Matt