| От | Andrew Dunstan |
|---|---|
| Тема | Re: UTF8MatchText |
| Дата | |
| Msg-id | 464C9990.5010000@dunslane.net обсуждение исходный текст |
| Ответ на | Re: UTF8MatchText (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: UTF8MatchText
|
| Список | pgsql-patches |
Tom Lane wrote: > Wait a second ... I just thought of a counterexample that destroys the > entire concept. Consider the pattern 'A__B', which clearly is supposed > to match strings of four *characters*. With the proposed patch in > place, it would match strings of four *bytes*. Which is not the correct > behavior. > > From what I can see the code is quite careful about when it calls NextByte vs NextChar, and after _ it calls NextChar. So I'll test for this, but I think it's safe. cheers andrew
В списке pgsql-patches по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера