• Tom Lane's avatar
    Repair bug in 8.2's new logic for planning outer joins: we have to allow joins · c1711764
    Tom Lane authored
    that overlap an outer join's min_righthand but aren't fully contained in it,
    to support joining within the RHS after having performed an outer join that
    can commute with this one.  Aside from the direct fix in make_join_rel(),
    fix has_join_restriction() and GEQO's desirable_join() to consider this
    possibility.  Per report from Ian Harding.
    c1711764
joinrels.c 20.5 KB