| От | Tom Lane |
|---|---|
| Тема | Re: Progress report on locale safe LIKE indexing |
| Дата | |
| Msg-id | 24217.998177668@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | RE: Progress report on locale safe LIKE indexing (Peter Eisentraut <peter_e@gmx.net>) |
| Ответы |
Re: Progress report on locale safe LIKE indexing
|
| Список | pgsql-hackers |
Peter Eisentraut <peter_e@gmx.net> writes:
> Now, if you look at the code that does the LIKE pattern matching you'll
> see that it does not use any locale features, it simply compares
> characters for equality based on their character codes, accounting for the
> wildcards. Consequentially, this whole operation has nothing to do with
> locales.
But the LIKE code does know about multibyte character sets. Is it safe
to assume that memcmp-based sorting will not make any mistakes with
multibyte characters?
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера