• Tom Lane's avatar
    Fix a bug in the original implementation of redundant-join-clause removal: · ed5d55da
    Tom Lane authored
    clauses in which one side or the other references both sides of the join
    cannot be removed as redundant, because that expression won't have been
    constrained below the join.  Per report from Sergey Burladyan.
    
    CVS HEAD does not contain this bug due to EquivalenceClass rewrite, but it
    seems wise to include the regression test for it anyway.
    ed5d55da
join.out 67.1 KB