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

From: Tom Lane <tgl>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src/backend/optimizer/plan (subselect.c)
Date: 2000-08-06 04:13:51
Message-ID: 200008060413.e764Dpf68716@hub.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Date: Sunday, August 6, 2000 @ 00:13:23
Author: tgl

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

Modified Files:
subselect.c

----------------------------- Log Message -----------------------------

Copy sub-Query nodes to avoid trouble when same sub-Query is linked to
multiple times in the parsetree (can happen in COALESCE or BETWEEN
contexts, for example). This is a pretty grotty solution --- it will
do for now, but perhaps we can do better when we redesign querytrees.
What we need is a consistent policy about whether querytrees should be
considered read-only structures or not ...

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2000-08-06 04:17:15 pgsql/src/include/utils (catcache.h)
Previous Message Bruce Momjian - CVS 2000-08-05 14:59:53 pgsql/src/include/utils (ascii.h)