| From: | tgl(at)postgresql(dot)org |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql/src/backend/optimizer/util (tlist.c) |
| Date: | 2001-01-09 03:48:50 |
| Message-ID: | 200101090348.f093moH48289@hub.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Date: Monday, January 8, 2001 @ 22:48:50
Author: tgl
Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/optimizer/util
from hub.org:/home/projects/pgsql/tmp/cvs-serv48277/backend/optimizer/util
Modified Files:
tlist.c
----------------------------- Log Message -----------------------------
Fix oversight in planning of GROUP queries: when an expression is used
as both a GROUP BY item and an output expression, the top-level Group
node should just copy up the evaluated expression value from its input,
rather than re-evaluating the expression. Aside from any performance
benefit this might offer, this avoids a crash when there is a sub-SELECT
in said expression.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | tgl | 2001-01-09 03:48:51 | pgsql/src/backend/optimizer/plan (setrefs.c subselect.c) |
| Previous Message | tgl | 2001-01-09 02:15:16 | pgsql/src/include/storage (relfilenode.h) |