Get rid of the separate EState for subplans, and just let them share the

Tom Lane <tgl@sss.pgh.pa.us>

Commit: c7ff7663e47fc4e295700101912f2b7dd53c1f4b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2007-02-27T01:11:26Z
Releases: 8.3.0
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.

Files