| От | Bruce Momjian |
|---|---|
| Тема | Re: [HACKERS] Broken select on regular expression !!! |
| Дата | |
| Msg-id | 199905210439.AAA19033@candle.pha.pa.us обсуждение |
| Ответ на | Re: [HACKERS] Broken select on regular expression !!! (Tatsuo Ishii <t-ishii@sra.co.jp>) |
| Ответы |
Re: [HACKERS] Broken select on regular expression !!!
|
| Список | pgsql-hackers |
> These all oddness are caused by the parser (makeIndexable). When > makeIndexable sees ~* '^41|^des' , it tries to rewrite the target > regexp so that an index can be used. The rewritten query might be > something like: > > fld1 ~* '^41|^des' and fld1 >= '41|^' and fld1 <= '41|^\377' I have just applied a fix to gram.y that should fix this case. Please let me know how it works at your site. Thanks. -- Bruce Momjian | http://www.op.net/~candle maillist@candle.pha.pa.us | (610) 853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania19026
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера