Previous patch to mark UNION outputs with common typmod (if any) breaks
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Mar 2002 05:13:36 +0000 (05:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 5 Mar 2002 05:13:36 +0000 (05:13 +0000)
commit68d813795a811979472fa4c0fb34f2dfbaa0e18f
tree9857430db65e439ce755c991fbcf98260f5e0c77
parent06b3be1e48570d7e66c2509412d0192274155766
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