pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Doug Y <dylists@ptd.net>
Cc: pgsql-sql@postgresql.org
Subject: Re: OR clause causing strange index performance
Date: Fri, 21 May 2004 02:53:37 -0400
Message-ID: <24812.1085122417@sss.pgh.pa.us> (raw)
In-Reply-To: <6.0.1.1.2.20040520123807.01f2dec0@mail.traderonline.com>
References: <6.0.1.1.2.20040520123807.01f2dec0@mail.traderonline.com>

Doug Y <dylists@ptd.net> writes:
> Is there any way to get this query to use the correct index condition so 
> that it runs in a reasonable amount of time?

I think CVS tip (7.5-to-be) would handle this better, but it's hard to
be sure since you didn't provide a self-contained test case.

			regards, tom lane



view thread (4+ messages)  latest in thread

Message-ID: <24812.1085122417@sss.pgh.pa.us>
Permalink:  ../24812.1085122417@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/24812.1085122417@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, dylists@ptd.net
  Subject: Re: OR clause causing strange index performance
  In-Reply-To: <24812.1085122417@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox