]> granicus.if.org Git - postgresql/commit
Change Agg and Group nodes so that Vars contained in their targetlists
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Feb 2007 23:44:25 +0000 (23:44 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 22 Feb 2007 23:44:25 +0000 (23:44 +0000)
commitcc77005df7177d9af1c23b7af1cac08102fcbca9
treef3fa89de1b1e46d901bd0f17bbd3ceed4fa8a480
parent3c5985b473024f45005c8b4776d4d63ed2d39d82
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.
src/backend/commands/explain.c
src/backend/executor/nodeAgg.c
src/backend/executor/nodeGroup.c
src/backend/executor/nodeResult.c
src/backend/optimizer/plan/setrefs.c
src/backend/utils/adt/ruleutils.c