• Tom Lane's avatar
    Partially restore qual scope checks in distribute_qual_to_rels(). · c97a547a
    Tom Lane authored
    The LATERAL implementation is now basically complete, and I still don't
    see a cost-effective way to make an exact qual scope cross-check in the
    presence of LATERAL.  However, I did add a PlannerInfo.hasLateralRTEs flag
    along the way, so it's easy to make the check only when not hasLateralRTEs.
    That seems to still be useful, and it beats having no check at all.
    c97a547a
initsplan.c 61.7 KB