From: | tgl(at)svr1(dot)postgresql(dot)org (Tom Lane) |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql-server/src backend/parser/parse_clause.c ... |
Date: | 2004-04-18 18:12:58 |
Message-ID: | 20040418181258.67D51D1C94B@svr1.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: tgl(at)svr1(dot)postgresql(dot)org 04/04/18 15:12:58
Modified files:
src/backend/parser: parse_clause.c parse_expr.c parse_relation.c
src/include/parser: parse_relation.h
Log message:
Tweak findTargetlistEntry so that bare names occurring in GROUP BY clauses
are sought first as local FROM columns, then as local SELECT-list aliases,
and finally as outer FROM columns; the former behavior made outer FROM
columns take precedence over aliases. This does not change spec
conformance because SQL99 allows only the first case anyway, and it seems
more useful and self-consistent. Per gripe from Dennis Bjorklund 2004-04-05.
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-04-18 18:13:31 | pgsql-server/src backend/parser/Tag: backend/p ... |
Previous Message | Bruce Momjian | 2004-04-16 12:59:06 | pgsql-server/src/backend/utils/error elog.c |