Change Agg and Group nodes so that Vars contained in their targetlists

Tom Lane <tgl@sss.pgh.pa.us>

Commit: cc77005df7177d9af1c23b7af1cac08102fcbca9
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-02-22T23:44:25Z
Releases: 8.3.0
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.

Files