Re: inet/cidr indexes almost not used

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Gleb Kouzmenko <gleb(at)well(dot)ru>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: inet/cidr indexes almost not used
Date: 2003-01-19 16:10:16
Message-ID: 389.1042992616@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Gleb Kouzmenko <gleb(at)well(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message pgsql-bugs 2003-01-19 17:36:21 Bug #877: numbers are no longer recognized as smallints
Previous Message Gleb Kouzmenko 2003-01-19 14:00:01 Re: inet/cidr indexes almost not used