From: | Tino Wildenhain <tino(at)wildenhain(dot)de> |
---|---|
To: | vladimir(at)sycore(dot)org |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Lower case |
Date: | 2005-01-26 10:05:20 |
Message-ID: | 1106733921.8688.151.camel@sabrina.peacock.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-ru-general |
Hi,
On Wed, 2005-01-26 at 12:01 +0000, Vladimir S. Petukhov wrote:
> Hi!
>
> Sorry for my English..
>
> I want to do case-insensitivity search, like this
> ... WHERE lower (column_name) LIKE lower (%value%);
> This work fine for English..
> But i need search for Russian words, lower() operator does not work with
> Russian (non-English) chars, but ORDER works fine...
> ???????????????
> What's wrong?
lower(), upper() and case insensitive search highly depend on
the correct locale. The locale is currently set on initdb
time, that is, when your whole cluster gets created.
If you dont want to recreate your cluster and your db,
you probably need to write a function to lower()
according to your datas locale.
Regards
Tino
--
Tino Wildenhain <tino(at)wildenhain(dot)de>
From | Date | Subject | |
---|---|---|---|
Next Message | Dawid Kuroczko | 2005-01-26 10:15:16 | Re: Lower case |
Previous Message | Sim Zacks | 2005-01-26 09:16:59 | Re: difficult JOIN |
From | Date | Subject | |
---|---|---|---|
Next Message | Dawid Kuroczko | 2005-01-26 10:15:16 | Re: Lower case |
Previous Message | Alexander M. Pravking | 2005-01-26 09:56:33 | Re: null+ч |