Use variable aliases, if supplied, rather than real column names in
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Sep 2000 18:14:55 +0000 (18:14 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 25 Sep 2000 18:14:55 +0000 (18:14 +0000)
commit98f706706d723d53b0d43bba2ce4f58e9be4e4ad
tree150fa1121a06e4d61526e2510fcb443b552eb4f3
parent0ad69d6f0573804958f213330c299db4533a5621
Use variable aliases, if supplied, rather than real column names in
complaints about ungrouped variables.  This is for consistency with
behavior elsewhere, notably the fact that the relname is reported as
an alias in these same complaints.  Also, it'll work with subselect-
in-FROM where old code didn't.
src/backend/nodes/print.c
src/backend/optimizer/util/clauses.c
src/backend/parser/parse_agg.c
src/backend/parser/parse_relation.c
src/backend/utils/adt/ruleutils.c
src/include/parser/parsetree.h