Change Agg and Group nodes so that Vars contained in their targetlists
and quals have varno OUTER, rather than zero, to indicate a reference to an output of their lefttree subplan. This is consistent with the way that every other upper-level node type does it, and allows some simplifications in setrefs.c and EXPLAIN.
Showing
- src/backend/commands/explain.c 41 additions, 27 deletionssrc/backend/commands/explain.c
- src/backend/executor/nodeAgg.c 9 additions, 9 deletionssrc/backend/executor/nodeAgg.c
- src/backend/executor/nodeGroup.c 9 additions, 4 deletionssrc/backend/executor/nodeGroup.c
- src/backend/executor/nodeResult.c 3 additions, 5 deletionssrc/backend/executor/nodeResult.c
- src/backend/optimizer/plan/setrefs.c 8 additions, 17 deletionssrc/backend/optimizer/plan/setrefs.c
- src/backend/utils/adt/ruleutils.c 2 additions, 2 deletionssrc/backend/utils/adt/ruleutils.c
Loading
Please register or sign in to comment