]> granicus.if.org Git - postgresql/commit
Get rid of the separate EState for subplans, and just let them share the
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Feb 2007 01:11:26 +0000 (01:11 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Feb 2007 01:11:26 +0000 (01:11 +0000)
commitc7ff7663e47fc4e295700101912f2b7dd53c1f4b
tree13e987e4894faca0086b78568b08b79cf124e8a1
parent4756ff3dca903dfc525d1c27fd00fad8ca328188
Get rid of the separate EState for subplans, and just let them share the
parent query's EState.  Now that there's a single flat rangetable for both
the main plan and subplans, there's no need anymore for a separate EState,
and removing it allows cleaning up some crufty code in nodeSubplan.c and
nodeSubqueryscan.c.  Should be a tad faster too, although any difference
will probably be hard to measure.  This is the last bit of subsidiary
mop-up work from changing to a flat rangetable.
15 files changed:
src/backend/executor/execMain.c
src/backend/executor/execProcnode.c
src/backend/executor/execQual.c
src/backend/executor/execUtils.c
src/backend/executor/nodeSubplan.c
src/backend/executor/nodeSubqueryscan.c
src/backend/nodes/copyfuncs.c
src/backend/nodes/outfuncs.c
src/backend/optimizer/plan/planner.c
src/backend/optimizer/plan/subselect.c
src/include/executor/executor.h
src/include/executor/nodeSubplan.h
src/include/nodes/execnodes.h
src/include/nodes/plannodes.h
src/include/nodes/relation.h