Re: pg 7.4.rc1, Range query performance - Mailing list pgsql-sql

From Bruce Momjian
Subject Re: pg 7.4.rc1, Range query performance
Date
Msg-id 200311110513.hAB5D3325077@candle.pha.pa.us
Whole thread Raw
In response to Re: pg 7.4.rc1, Range query performance  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: pg 7.4.rc1, Range query performance
List pgsql-sql
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > Sorry there isn't a simple solution.
> 
> But there is: make an index with the column order (b,c,a).

Oh, yea, right.  If he puts the columns he is doing a straight equals
comparison first, the 'a' comparison will work fine.  Great.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


pgsql-sql by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg 7.4.rc1, Range query performance
Next
From: sad
Date:
Subject: a question to developers