Quick hack to fix Oliver Elphick's problem with subselects in an
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Mar 2001 18:02:19 +0000 (18:02 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 27 Mar 2001 18:02:19 +0000 (18:02 +0000)
commit7fe462295bd7e7fd38c93ba5d19e4105dc2c4774
treece64539de8287bd078535ae7d3ea636618922a97
parent44292e6f17d3b6bd57c7b6520f0a48fff0c80ab7
Quick hack to fix Oliver Elphick's problem with subselects in an
inheritance query: make duplicate copies of subplans in adjust_inherited_attrs.
When we redesign querytrees we really gotta do something about this
issue of whether querytrees are read-only and can share substructure
or not.
src/backend/optimizer/prep/prepunion.c