Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id B8F14475BFE; Wed, 15 May 2002 09:30:23 -0400 (EDT) Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (Postfix) with ESMTP id F293C475B13; Wed, 15 May 2002 09:30:21 -0400 (EDT) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id IAA27633; Wed, 15 May 2002 08:30:25 -0500 X-Authentication-Warning: shire.ontko.com: Host bilbo.ontko.com [199.164.165.101] claimed to be nick Reply-To: From: "Nick Fankhauser" To: "pgsql-admin" , , "Gordon Luk" Subject: Re: [JDBC] Problem: upgrade from 7.1.3 to 7.2.1 ( database encode with ENC_TW) Date: Wed, 15 May 2002 08:28:58 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="Big5" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <3CE21BDA.1090308@gforce.ods.org> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200205/129 X-Sequence-Number: 4304 Gordon- This looks like a subject for the PSQL-ADMIN list. I'll forward it over there, & you should also look there for the response. I know that one of the 7.1->7.2 issues is that unicode chars were not checked/rejected by 7.1 if there was no multibyte support in the compile, but you seem to have addressed that issue. The error messages seem pretty clear on this- have you checked the dump file to see if you do in fact have chars that are no valid EUC_TW ? Regards, -Nick > > 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 > > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html >