Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 770C6475873 for ; Wed, 15 May 2002 04:26:30 -0400 (EDT) Received: from fw1.plkcpktys.edu.hk (203186084009.ctinets.com [203.186.84.9]) by postgresql.org (Postfix) with SMTP id 6821347545D for ; Wed, 15 May 2002 04:26:28 -0400 (EDT) Received: (qmail 23178 invoked from network); 15 May 2002 16:26:34 -0000 Received: from unknown (HELO gforce.ods.org) (10.190.0.16) by 203186084009.ctinets.com with SMTP; 15 May 2002 16:26:34 -0000 Message-ID: <3CE21BDA.1090308@gforce.ods.org> Date: Wed, 15 May 2002 16:27:06 +0800 From: Gordon Luk User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.4) Gecko/20011019 Netscape6/6.2 X-Accept-Language: en-us, zh-cn, zh-tw MIME-Version: 1.0 To: pgsql-jdbc@postgresql.org Subject: Problem: upgrade from 7.1.3 to 7.2.1 ( database encode with ENC_TW) Content-Type: text/plain; charset=Big5 Content-Transfer-Encoding: 7bit X-Archive-Number: 200205/82 X-Sequence-Number: 3906 Hi all, Problem as my letter subject, my upgrade procedure also just follow the simple. 1. compile 7.2.1 with multi-byte...with encode.. 2. install ... 3. createdb -E EUC_TW mydatabase 4. psql mydatabase < dump_backup_from_my_old_database.txt it return following error... ------------------------>8--------------------------- . . NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index 'student_pk' for table 'student' CREATE ERROR: copy: line 2, Invalid EUC_TW character sequence found (0xae65) lost synchronization with server, resetting connection ERROR: copy: line 1, Invalid EUC_TW character sequence found (0xb27a) lost synchronization with server, resetting connection ERROR: copy: line 1, Invalid EUC_TW character sequence found (0xaa4d) lost synchronization with server, resetting connection ERROR: copy: line 1, Invalid EUC_TW character sequence found (0xb371) lost synchronization with server, resetting connection ERROR: copy: line 2, Invalid EUC_TW character sequence found (0xbc42) lost synchronization with server, resetting connection ERROR: copy: line 1, Invalid EUC_TW character sequence found (0xa470) lost synchronization with server, resetting connection ERROR: copy: line 1, Invalid EUC_TW character sequence found (0xa656) lost synchronization with server, resetting connection ERROR: copy: line 3, Invalid EUC_TW character sequence found (0xad50) lost synchronization with server, resetting connection CREATE CREATE . . ------------------------>8--------------------------- Please help. Gordon