]> granicus.if.org Git - postgresql/commit
Previous patch to mark UNION outputs with common typmod (if any) breaks
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Mar 2002 05:10:24 +0000 (05:10 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Mar 2002 05:10:24 +0000 (05:10 +0000)
commit944671820fbc9e97be7bfdb05589f69428536632
tree7c70ab702ecd3115573be3c5da3c2749a81ca747
parent17b6baf17dc5ea72f4739e66e1bec77d413155a9
Previous patch to mark UNION outputs with common typmod (if any) breaks
three-or-more-way UNIONs, as per example from Josh Berkus.  Cause is a
fragile assumption that one tlist's entries will exactly match another.
Restructure code to make that assumption a little less fragile.
src/backend/optimizer/prep/prepunion.c