Fix UNION/INTERSECT/EXCEPT so that when two inputs being merged have

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 0ee26100b64702f2fb4cd65c6dfdfb8f31e88130
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2006-08-10T02:36:29Z
Releases: 8.2.0
Fix UNION/INTERSECT/EXCEPT so that when two inputs being merged have
same data type and same typmod, we show that typmod as the output
typmod, rather than generic -1.  This responds to several complaints
over the past few years about UNIONs unexpectedly dropping length or
precision info.

Files