Skip site navigation (1) Skip section navigation (2)

pgsql/src/backend/optimizer/plan (setrefs.c subselect.c)

From: tgl(at)postgresql(dot)org
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/optimizer/plan (setrefs.c subselect.c)
Date: 2001-01-09 03:48:51
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-committers
  Date: Monday, January  8, 2001 @ 22:48:51
Author: tgl

Update of /home/projects/pgsql/cvsroot/pgsql/src/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

Next:From: ishiiDate: 2001-01-09 04:40:31
Subject: pgsql/doc (README.mb)
Previous:From: tglDate: 2001-01-09 03:48:50
Subject: pgsql/src/include/optimizer (tlist.h)

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group