| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера