]> granicus.if.org Git - postgresql/commit
Fix brokenness of nested EXCEPT/INTERSECT queries. prepunion was being
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Aug 2001 17:12:57 +0000 (17:12 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 14 Aug 2001 17:12:57 +0000 (17:12 +0000)
commit4bc9f5e9ba9a214086c7cb2975f7dc36161c6ed4
tree9f1dde8a94d8f211ae4fe174ed418305cb59e10f
parentee8ed85da3b0548eba96f2ec68fa7ba577bba586
Fix brokenness of nested EXCEPT/INTERSECT queries.  prepunion was being
a tad sloppy about generating the targetlist for some nodes, by generating
a tlist entry that claimed to be a constant when the value wasn't actually
constant.  This caused setrefs.c to do the wrong thing later on.
src/backend/optimizer/prep/prepunion.c