Re: inet/cidr indexes almost not used - Mailing list pgsql-bugs

From Tom Lane
Subject Re: inet/cidr indexes almost not used
Date
Msg-id 389.1042992616@sss.pgh.pa.us
Whole thread Raw
In response to Re: inet/cidr indexes almost not used  (Gleb Kouzmenko <gleb@well.ru>)
List 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 by date:

Previous
From: Gleb Kouzmenko
Date:
Subject: Re: inet/cidr indexes almost not used
Next
From: pgsql-bugs@postgresql.org
Date:
Subject: Bug #877: numbers are no longer recognized as smallints