Greg Stark <gsstark@mit.edu> writes:
> On Tue, Jul 7, 2009 at 11:33 PM, <jacob@aers.ca> wrote:
>> After some investigation it seems that the new server is refusing to use the index's but if I
>> limit the number of arguments in the latter part of the statement to 100 then it works as
>> expected in the expected amount of time using the indexs.
> Ugh, I thought this sounded familiar. I think you're hitting this
> limit which was put in place in 8.2.12 to protect against very slow
> planning times for very long IN lists:
Nonsense ... unless perhaps the index is partial, and the IN condition
is relevant to proving it's legal to use the index? Given the lack of
any schema information in the complaint, I suppose I can't rule that
out, but one would hope the OP would have mentioned such a thing.
regards, tom lane