Re: case insensitive search with greek characters

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: case insensitive search with greek characters
Дата
Msg-id 200408152142.01788.peter_e@gmx.net
обсуждение исходный текст
Ответ на case insensitive search with greek characters  (Giannis Vrentzos <gvre@NOSPAM.gvre.gr>)
Список pgsql-general
Giannis Vrentzos wrote:
> I 'm testing postgres 8.0 beta 1 an i have the following problem. I
> have a field with value Γιάννης. If i execute the following query it
> does not returns any rows.
>
> select * from test where descr ilike '%γιαννης%'
>
> if i change the query to
>
> select * from test where descr ilike '%γιάννης%'
>
> everything is fine. As you can see the problem is at char α .

As far as I can see, this is correct, because the pattern in the second
query indeed does match you value whereas the first doesn't.  Did you
expect ilike to be accent-insensitive?  It is not.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


В списке pgsql-general по дате отправления:

Предыдущее
От: Frank van Vugt
Дата:
Сообщение: Re: (libpq) listen/notify messages are converted to lowercase and/or are case insensitive
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pgcrypto/encrypt insertion failes due to \\ (2 slah being