Aaron Stone wrote:
Please post the plan if we replace
 status IN ('0', '1')
with
 (status = '0' OR status = '1')
because that would allow us to keep our symbolic constants in the
source. I am also curious if this performs differently than IN because
it sure looks the exact same thing ;-)

This is why I asked for the PostgreSQL version, I know if older versions the IN clause sucked for performance, but I think it's much better recent versions, perhaps since 8.0 or so...

Reply via email to