| От | Tom Lane |
|---|---|
| Тема | Re: Bug in ILIKE? |
| Дата | |
| Msg-id | 427.1222469938@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Bug in ILIKE? (Andrew Dunstan <andrew@dunslane.net>) |
| Ответы |
Re: Bug in ILIKE?
|
| Список | pgsql-hackers |
Andrew Dunstan <andrew@dunslane.net> writes:
> Tom Lane wrote:
>> I think it's just a bug in 8.3.
> Well, here's a patch that I think fixes it. If you're happy I'll apply
> it to HEAD and 8.3.
That patch isn't gonna apply to HEAD ;-). Also the introduction of
NextChar is simply broken, as it will skip additional bytes of a
multibyte char without having compared 'em. All you need AFAICS is
to put TCHAR()s into the *p != *t comparison, so that it matches the
case for ordinary characters.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера