Re: BUG #6214: can't change Column COLLATE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: 小豕 <e9320(dot)tw(at)gmail(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #6214: can't change Column COLLATE
Date: 2011-09-20 04:32:17
Message-ID: 29054.1316493137@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

=?Big5?B?pHCoqA==?= <e9320(dot)tw(at)gmail(dot)com> 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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Peter Eisentraut 2011-09-20 05:58:57 Re: BUG #6214: can't change Column COLLATE
Previous Message 小豕 2011-09-20 01:29:08 Re: BUG #6214: can't change Column COLLATE