• Tom Lane's avatar
    Allow the planner to collapse explicit inner JOINs together, rather than · 9f5f2124
    Tom Lane authored
    necessarily following the JOIN syntax to develop the query plan.  The old
    behavior is still available by setting GUC variable JOIN_COLLAPSE_LIMIT
    to 1.  Also create a GUC variable FROM_COLLAPSE_LIMIT to control the
    similar decision about when to collapse sub-SELECT lists into their parent
    lists.  (This behavior existed already, but the limit was always
    GEQO_THRESHOLD/2; now it's separately adjustable.)
    9f5f2124
guc.c 69.2 KB