Re: Indexing of LIKE queries is broken in current sources
В списке pgsql-hackers по дате отправления:
| От | Thomas Lockhart |
|---|---|
| Тема | Re: Indexing of LIKE queries is broken in current sources |
| Дата | |
| Msg-id | 39C05C2D.C1271929@alumni.caltech.edu обсуждение исходный текст |
| Ответ на | Indexing of LIKE queries is broken in current sources (Tom Lane <tgl@sss.pgh.pa.us>) |
| Ответы |
Re: Indexing of LIKE queries is broken in current sources
|
| Список | pgsql-hackers |
> It seems that the parser now emits some kind of function call for LIKE
> expressions, whereas the optimizer's code to use indexes for LIKE is
> looking for an operator.
> I have more pressing things to do than try to teach the optimizer about
> looking for function calls as well as operators, so I recommend
> reverting the parser's output to what it was.
Oh, that's bad. I changed it to the function call to allow
three-parameter LIKE clauses, which is a perfectly reasonable thing to
do imho.
This LIKE shortcircuit stuff is a hack anyway, but where should I look
in the optimizer?
- Thomas
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера