Re: BUG #3792: cluster in UTF deny database in LATIN2

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
Cc: Marek <wrobel(dot)marek(at)gmail(dot)com>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #3792: cluster in UTF deny database in LATIN2
Date: 2007-12-02 03:48:22
Message-ID: 7811.1196567302@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Heikki Linnakangas <heikki(at)enterprisedb(dot)com> writes:
> Marek wrote:
>> createdb: database creation failed: ERROR: encoding LATIN2 does not match
>> server's locale pl_PL.UTF-8
>> The server's LC_CTYPE setting requires encoding UTF8.

> That's intentional. You're trying to use a UTF-8 locale, with LATIN2
> encoding. That's not going to work properly. We used to be lax about
> that, but in 8.3 we check that the encoding matches the encoding the
> locale expects, and throw an error if they don't.

> Hmm, apparently that's not mentioned in the release notes. It probably
> should be.

Yeah, not sure how we missed that :-(. Added.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message NikhilS 2007-12-02 08:14:20 Re: [HACKERS] BUG #3774: create table like including index doesn't update pg_constraints with primary key
Previous Message Tom Lane 2007-12-01 23:46:52 Re: [HACKERS] BUG #3774: create table like including index doesn't update pg_constraints with primary key