Re: Where clause limited to 8 items?

From: Greg Stark <gsstark(at)mit(dot)edu>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Where clause limited to 8 items?
Date: 2004-10-20 06:05:44
Message-ID: 87hdop2abr.fsf@stark.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Henry Combrinck" <henry(at)metroweb(dot)co(dot)za> writes:

> The above works fine - the index is used. However, extend the where
> clause with an extra line (say, col1 = 9) and the index is no longer used.

Do

explain analyze select ...

with both versions and send the results (preferably without line wrapping it).

I'm a bit skeptical about your description since I don't see how either query
could possibly be using an index here.

--
greg

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Henry Combrinck 2004-10-20 06:58:04 Re: SOLVED: Where clause limited to 8 items?
Previous Message Stuart Bishop 2004-10-20 05:40:04 Re: plpython question