Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 96972B5DC01 for ; Tue, 20 Sep 2011 01:32:25 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 28720-06 for ; Tue, 20 Sep 2011 04:32:19 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 1E406B5DC00 for ; Tue, 20 Sep 2011 01:32:18 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p8K4WIH5029055; Tue, 20 Sep 2011 00:32:18 -0400 (EDT) To: =?Big5?B?pHCoqA==?= cc: pgsql-bugs@postgresql.org Subject: Re: BUG #6214: can't change Column COLLATE In-reply-to: References: <201109190647.p8J6lSTU035042@wwwmaster.postgresql.org> <18103.1316447909@sss.pgh.pa.us> Comments: In-reply-to =?Big5?B?pHCoqA==?= message dated "Tue, 20 Sep 2011 09:29:08 +0800" Date: Tue, 20 Sep 2011 00:32:17 -0400 Message-ID: <29054.1316493137@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.404 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.504 X-Spam-Level: X-Archive-Number: 201109/115 X-Sequence-Number: 31132 =?Big5?B?pHCoqA==?= writes: > Use ALTER TABLE item ALTER COLUMN title TYPE character varying(2000) > COLLATE pg_catalog."zh_TW.euctw"; > but, SQL state: 42704 "UTF8" "pg_catalog.zh_TW.euctw" not found I hope that's not the exact phrasing of the error message ... but what it's probably trying to tell you is that you can't use an EUC_TW based locale in a database with UTF8 encoding. Try zh_TW.utf8. regards, tom lane