• Tom Lane's avatar
    When a relation has been proven empty by constraint exclusion, propagate that · fd791e7b
    Tom Lane authored
    knowledge up through any joins it participates in.  We were doing that already
    in some special cases but not in the general case.  Also, defend against zero
    row estimates for the input relations in cost_mergejoin --- this fix may have
    eliminated the only scenario in which that can happen, but be safe.  Per
    report from Alex Solovey.
    fd791e7b
joinpath.c 31.4 KB