"Josh Berkus" <josh(at)agliodbs(dot)com> writes:> Can someone explain this to me?
Are you taking into account that SQL booleans are actually three-valued?They can be TRUE, FALSE, or NULL (NULL taken as meaning "don't know").
regards, tom lane