Re: inet/cidr indexes almost not used

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: inet/cidr indexes almost not used
Дата
Msg-id 389.1042992616@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: inet/cidr indexes almost not used  (Gleb Kouzmenko <gleb@well.ru>)
Список pgsql-bugs
Gleb Kouzmenko <gleb@well.ru> writes:
> I quoted two EXPLAINs below again: WHERE i<<'IP' and WHERE 'IP'>>i is
> logically equivalent, but are planned differently

If you'd like to fix that, see match_special_index_operator() and
expand_indexqual_conditions() in src/backend/optimizer/path/indxpath.c.
I can't get very excited about it myself.

            regards, tom lane

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

Предыдущее
От: Gleb Kouzmenko
Дата:
Сообщение: Re: inet/cidr indexes almost not used
Следующее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Bug #877: numbers are no longer recognized as smallints