]> git.ipfire.org Git - thirdparty/postgresql.git/commit
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)
commit8bdc2bf030acae0bdac98c645a3c80f205e7e10a
tree4a006a48c92f0de9945eb38a2a0b05cdf49a9514
parent164caa3951a80d3e9f31f598460ee7582850c71b
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