Back out prior patch and instead just suppress SubqueryScan elimination
authorTom Lane <[email protected]>
Mon, 5 Sep 2005 18:59:38 +0000 (18:59 +0000)
committerTom Lane <[email protected]>
Mon, 5 Sep 2005 18:59:38 +0000 (18:59 +0000)
commit4aeb556bb4d1a985960cb3fc679a3f55298aacce
tree6531b34085c923d56111fe2877e15b6c96328a4e
parent217bab397af545686771204203fff96bc161bfad
Back out prior patch and instead just suppress SubqueryScan elimination
when there are extra resjunk columns in the child node.  I found some
additional cases involving Append nodes that weren't handled by the
prior patch, and it's not clear how to fix them in the same way without
breaking inheritance cases.  So the prudent path seems to be to narrow
the scope of the optimization.
src/backend/optimizer/plan/setrefs.c