pgsql: Remove ancient kluge that kept nodeAgg.c from crashing on UPDATEs

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Remove ancient kluge that kept nodeAgg.c from crashing on UPDATEs
Date: 2006-06-21 18:39:42
Message-ID: 20060621183942.A412C9FA65C@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Remove ancient kluge that kept nodeAgg.c from crashing on UPDATEs involving
aggregates. We just disallowed that, and AFAICS there should be no other
cases where direct (non-aggregated) references to input columns are allowed
in a query with aggregation and no GROUP BY.

Modified Files:
--------------
pgsql/src/backend/executor:
nodeAgg.c (r1.139 -> r1.140)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/nodeAgg.c.diff?r1=1.139&r2=1.140)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2006-06-21 19:40:31 pgsql: Move setup_cancel_handler() up near start of psql main(), where
Previous Message Tom Lane 2006-06-21 18:30:19 pgsql: Disallow aggregate functions in UPDATE commands (unless within a