• Tom Lane's avatar
    expression_tree_walker failed to let walker function see the immediate child · 76d5f6f0
    Tom Lane authored
    node of a SubLink or SubPlan testexpr field.  Bug resulted from replacing
    the old lefthand/exprs list fields with a simple expression field, and not
    remembering that expression_tree_walker is coded to save a few cycles by
    recursing directly to self on list fields (on the assumption the walker
    isn't interested in List nodes per se).  On non-list fields it must of
    course call the walker.  Possibly that hack isn't worth the risk of more
    such bugs, but I'll leave it be for now.  Per bug report from James Robinson.
    76d5f6f0
clauses.c 117 KB