• Tom Lane's avatar
    Teach simplify_boolean_equality to simplify the forms foo <> true and · 31d1f233
    Tom Lane authored
    foo <> false, along with its previous duties of simplifying foo = true
    and foo = false.  (All of these are equivalent to just foo or NOT foo
    as the case may be.)  It's not clear how often this is really useful;
    but it costs almost nothing to do, and it seems some people think we
    should be smart about such cases.  Per recent bug report.
    31d1f233
pg_operator.h 75 KB