• Tom Lane's avatar
    Avoid creating PlaceHolderVars immediately within PlaceHolderVars. · cff60f2d
    Tom Lane authored
    Such a construction is useless since the lower PlaceHolderVar is already
    nullable; no need to make it more so.  Noted while pursuing bug #6154.
    
    This is just a minor planner efficiency improvement, since the final plan
    will come out the same anyway after PHVs are flattened.  So not worth the
    risk of back-patching.
    cff60f2d
prepjointree.c 70.7 KB