| От | Peter Eisentraut |
|---|---|
| Тема | Re: UTF-8 and LIKE vs = |
| Дата | |
| Msg-id | 200408232222.01447.peter_e@gmx.net обсуждение исходный текст |
| Ответ на | UTF-8 and LIKE vs = (David Wheeler <david@kineticode.com>) |
| Ответы |
Re: UTF-8 and LIKE vs =
|
| Список | pgsql-general |
David Wheeler wrote: > Any idea why = works here and LIKE and ~ wouldn't? Because LIKE does a character-by-character matching and = uses the operating system locale, which could do anything. If you set the locale to C, you should get matching results. Which one is "better" depends on the semantics of the language, which I cannot judge here. -- Peter Eisentraut http://developer.postgresql.org/~petere/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера