• Tom Lane's avatar
    Fix an oversight I introduced on 2003-12-28: find_nots/push_nots should · 284e4739
    Tom Lane authored
    continue to recurse after eliminating a NOT-below-a-NOT, since the
    contained subexpression will now be part of the top-level AND/OR structure
    and so deserves to be simplified.  The real-world impact of this is
    probably minimal, since it'd require at least three levels of NOT to make
    a difference, but it's still a bug.
    Also remove some redundant tests for NULL subexpressions.
    284e4739
prepqual.c 13.3 KB