Re: Query optimization and indexes - Mailing list pgsql-general

From Gregory Stark
Subject Re: Query optimization and indexes
Date
Msg-id 8764gprowa.fsf@stark.xeocode.com
Whole thread Raw
In response to Re: Query optimization and indexes  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Query optimization and indexes
List pgsql-general
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Before (if memory serves) 8.1, the planner would only consider leading
> index columns as potential indexscan qualifiers.  So given
>
>     where a = 5 and c = 4;
>
> only the a = 5 clause would be used with the index.  As of 8.1 it will
> consider using nonconsecutive index columns

Really? Is this the "skip scan" plan people were pining for? I missed when
that happened.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com

pgsql-general by date:

Previous
From: "Nicolas Barbier"
Date:
Subject: Re: Importance of re-index
Next
From: "Dwight Emmons"
Date:
Subject: Cast null string '' to integer 0