Re: Where clause limited to 8 items? - Mailing list pgsql-general

From Greg Stark
Subject Re: Where clause limited to 8 items?
Date
Msg-id 87hdop2abr.fsf@stark.xeocode.com
Whole thread Raw
In response to Where clause limited to 8 items?  ("Henry Combrinck" <henry@metroweb.co.za>)
Responses Re: Where clause limited to 8 items?  ("Henry Combrinck" <henry@metroweb.co.za>)
List pgsql-general
"Henry Combrinck" <henry@metroweb.co.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

pgsql-general by date:

Previous
From: Stuart Bishop
Date:
Subject: Re: plpython question
Next
From: "Henry Combrinck"
Date:
Subject: Re: SOLVED: Where clause limited to 8 items?