[Fwd: [JDBC] Problem: upgrade from 7.1.3 to 7.2.1 ( database encode with ENC_TW)]

From: Gordon Luk <gordon(at)somewhere(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: [Fwd: [JDBC] Problem: upgrade from 7.1.3 to 7.2.1 ( database encode with ENC_TW)]
Date: 2002-05-15 09:38:56
Message-ID: 3CE22CB0.1030505@somewhere.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-------- Original Message --------
Subject: [JDBC] Problem: upgrade from 7.1.3 to 7.2.1 ( database encode
with ENC_TW)
Date: Wed, 15 May 2002 16:27:06 +0800
From: Gordon Luk <gordon(at)gforce(dot)ods(dot)org>
To: pgsql-jdbc(at)postgresql(dot)org

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

Browse pgsql-general by date

  From Date Subject
Next Message Dave Cramer 2002-05-15 09:53:09 [Fwd: [JDBC] Problem: upgrade from 7.1.3 to 7.2.1 ( database encode with ENC_TW)]
Previous Message Ang Tun Chek 2002-05-15 04:49:06 some questions