• T
    Get rid of ExecAssignResultTypeFromOuterPlan() and make all plan node types · 4dd2048a
    Tom Lane 提交于
    generate their output tuple descriptors from their target lists (ie, using
    ExecAssignResultTypeFromTL()).  We long ago fixed things so that all node
    types have minimally valid tlists, so there's no longer any good reason to
    have two different ways of doing it.  This change is needed to fix bug
    reported by Hayden James: the fix of 2005-11-03 to emit the correct column
    names after optimizing away a SubqueryScan node didn't work if the new
    top-level plan node used ExecAssignResultTypeFromOuterPlan to generate its
    tupdesc, since the next plan node down won't have the correct column labels.
    4dd2048a
nodeHash.c 21.0 KB