Re: postgresql unicode lower/upper problem

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Sergey Levchenko <sector119(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: postgresql unicode lower/upper problem
Date: 2005-03-23 17:17:14
Message-ID: 7929.1111598234@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Sergey Levchenko <sector119(at)gmail(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-03-23 17:28:22 Re: backend process
Previous Message Greg Stark 2005-03-23 17:13:33 Re: Changing constraints to deferrable