pgsql: expression_tree_walker failed to let walker function see the - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: expression_tree_walker failed to let walker function see the
Date
Msg-id 20061025221132.AE1749FA136@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
expression_tree_walker failed to let walker function see the immediate child
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.

Modified Files:
--------------
    pgsql/src/backend/optimizer/util:
        clauses.c (r1.222 -> r1.223)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/optimizer/util/clauses.c.diff?r1=1.222&r2=1.223)

pgsql-committers by date:

Previous
From: okbob@pgfoundry.org (User Okbob)
Date:
Subject: orafce - orafce: replace not necessery stable attr with immutable
Next
From: doudou586@pgfoundry.org (User Doudou586)
Date:
Subject: press - pr: Fixed laser's email