Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group