Re: query planner does not canonicalize infix operators

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: query planner does not canonicalize infix operators
Дата
Msg-id 17479.1331563953@sss.pgh.pa.us
обсуждение исходный текст
Ответ на query planner does not canonicalize infix operators  (Will Leinweber <will@heroku.com>)
Ответы Re: query planner does not canonicalize infix operators
Список pgsql-hackers
Will Leinweber <will@heroku.com> writes:
> I created an index on an hstore function, fetchval(hstore, text), however
> when I use the -> infix operator which resolves to the very same function,
> this index is not used. It should be used.

Don't hold your breath.  Create an index on the expression you intend to
use, not random respellings of it.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Kohei KaiGai
Дата:
Сообщение: Re: [v9.2] Add GUC sepgsql.client_label
Следующее
От: Kohei KaiGai
Дата:
Сообщение: Re: [v9.2] Add GUC sepgsql.client_label