pgsql/src/backend/optimizer/plan (setrefs.c subselect.c) - Mailing list pgsql-committers

From tgl@postgresql.org
Subject pgsql/src/backend/optimizer/plan (setrefs.c subselect.c)
Date
Msg-id 200101090348.f093mpF48295@hub.org
Whole thread Raw
List pgsql-committers
  Date: Monday, January  8, 2001 @ 22:48:51
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/backend/optimizer/plan
     from hub.org:/home/projects/pgsql/tmp/cvs-serv48277/backend/optimizer/plan

Modified Files:
    setrefs.c subselect.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.


pgsql-committers by date:

Previous
From: tgl@postgresql.org
Date:
Subject: pgsql/src/include/optimizer (tlist.h)
Next
From: ishii@postgresql.org
Date:
Subject: pgsql/doc (README.mb)