Re: possible wierd boolean bug? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: possible wierd boolean bug?
Date
Msg-id 17306.1103056651@sss.pgh.pa.us
Whole thread Raw
In response to Re: possible wierd boolean bug?  ("Merlin Moncure" <merlin.moncure@rcsonline.com>)
List pgsql-hackers
"Merlin Moncure" <merlin.moncure@rcsonline.com> writes:
> Try it with explain/analyze which reports 4 rows.

I don't see four rows.  I do see different results when I add the third
redundant WHERE clause: it switches to a different index and fails to
find the row it should find.  I suspect the problem is located in the
btree index scan setup code that I changed to support cross-data-type
comparisons.  (7.4 does not fail, but it doesn't try to use the index
fully either.)

I'm on it... thanks for the test case!
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: cant write to file within call handler interface
Next
From: Simon Riggs
Date:
Subject: Re: bgwriter changes