Partial fix for copied-plan bugs reported by Hiroshi Inoue:
Tom Lane <tgl@sss.pgh.pa.us>
Partial fix for copied-plan bugs reported by Hiroshi Inoue: _copyResult didn't copy subPlan structure completely. _copyAgg is still busted, apparently because of changes from EXCEPT/INTERSECT patch (get_agg_tlist_references is no longer sufficient to find all aggregates). No time to look at that tonight, however.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/nodes/copyfuncs.c | modified | +8 −4 |
| src/backend/optimizer/plan/subselect.c | modified | +7 −6 |
| src/include/optimizer/subselect.h | modified | +1 −0 |