Re: prefix btree implementation

Поиск
Список
Период
Сортировка
От 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  (Simon Riggs <simon@2ndquadrant.com>)
Список 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 по дате отправления:

Предыдущее
От: MOCHERLA LAKSHMI NARASIMHAM
Дата:
Сообщение: resource monitor
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: fixing LISTEN/NOTIFY