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 ...