| От | Tom Lane |
|---|---|
| Тема | Re: prefix btree implementation |
| Дата | |
| Msg-id | 16792.1128605918@sss.pgh.pa.us обсуждение |
| Ответ на | Re: prefix btree implementation (Simon Riggs <simon@2ndquadrant.com>) |
| Ответы |
Re: prefix btree implementation
|
| Список | pgsql-hackers |
Simon Riggs <simon@2ndquadrant.com> writes:
> It might be worth teaching the optimiser that if it has an index on an
> immutable function that if we have WHERE x = k and a functional index on
> f(x) then we can access the functional index with
> f(x) = f(k), as long as we also reapply the original WHERE clause.
As I just pointed out to Gaetano, this is utterly wrong. We can't
assume that much about the behavior of equality.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера