Fix parse_agg.c to detect ungrouped Vars in sub-SELECTs; remove code

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

Commit: b19adc1aae8ec6c84d8c3f25919b866319d77a27
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2003-01-17T03:25:04Z
Releases: 7.4.1
Fix parse_agg.c to detect ungrouped Vars in sub-SELECTs; remove code
that used to do it in planner.  That was an ancient kluge that was
never satisfactory; errors should be detected at parse time when possible.
But at the time we didn't have the support mechanism (expression_tree_walker
et al) to make it convenient to do in the parser.

Files