Re: Query composite index range in an efficient way - Mailing list pgsql-performance

From Gregory Stark
Subject Re: Query composite index range in an efficient way
Date
Msg-id 87wsbp1a6k.fsf@oxford.xeocode.com
Whole thread Raw
In response to Query composite index range in an efficient way  (Havasvölgyi Ottó <havasvolgyi.otto@gmail.com>)
Responses Re: Query composite index range in an efficient way
List pgsql-performance
Havasvölgyi Ottó <havasvolgyi.otto@gmail.com> writes:

> I also tried Row constructors with a Between expression, but in this case
> Postgres handled the elements of the row independently, and this led to
> false query result.

What version of Postgres is this? row constructors were fixed a long time ago
to not do that and the main benefit of that was precisely that this type of
expression could use a multi-column index effectively.

--
  Gregory Stark
  EnterpriseDB          http://www.enterprisedb.com
  Ask me about EnterpriseDB's On-Demand Production Tuning

pgsql-performance by date:

Previous
From: Matthew Wakeling
Date:
Subject: Re: Query composite index range in an efficient way
Next
From: Rajesh Kumar Mallah
Date:
Subject: Re: suggestions for postgresql setup on Dell 2950 , PERC6i controller