• Tom Lane's avatar
    Fix handling of NULL constraint conditions: per SQL92 spec, a NULL result · 6d1efd76
    Tom Lane authored
    from a constraint condition does not violate the constraint (cf. discussion
    on pghackers 12/9/99).  Implemented by adding a parameter to ExecQual,
    specifying whether to return TRUE or FALSE when the qual result is
    really NULL in three-valued boolean logic.  Currently, ExecRelCheck is
    the only caller that asks for TRUE, but if we find any other places that
    have the wrong response to NULL, it'll be easy to fix them.
    6d1efd76
nodeMergejoin.c 36.5 KB