Re: postgresql unicode lower/upper problem - Mailing list pgsql-general

From Tom Lane
Subject Re: postgresql unicode lower/upper problem
Date
Msg-id 7929.1111598234@sss.pgh.pa.us
Whole thread Raw
In response to postgresql unicode lower/upper problem  (Sergey Levchenko <sector119@gmail.com>)
Responses Re: postgresql unicode lower/upper problem  (Sergey Levchenko <sector119@gmail.com>)
List pgsql-general
Sergey Levchenko <sector119@gmail.com> writes:
> I am not able to get work lower and upper functions on postgresql
> v8.0.1 and 8.1b(current cvs copy). I use Debian SID i686 GNU/Linux.
> Locale: ru_RU.KOI8-R

> createdb -E UNICODE test

I think the problem is you selected a database encoding that doesn't
match what the locale expects.  You can't really mix-and-match if you
expect locale-specific stuff like upper/lower to work.  For that
locale you must use -E KOI8.

            regards, tom lane

pgsql-general by date:

Previous
From: Greg Stark
Date:
Subject: Re: Changing constraints to deferrable
Next
From: Tom Lane
Date:
Subject: Re: backend process