From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | tgl(at)postgresql(dot)org |
Cc: | pgsql-committers(at)postgresql(dot)org |
Subject: | Re: pgsql/src/backend/optimizer/prep prepunion.c |
Date: | 2001-11-12 20:29:03 |
Message-ID: | 200111122029.fACKT3D23031@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
> CVSROOT: /cvsroot
> Module name: pgsql
> Changes by: tgl(at)postgresql(dot)org 01/11/12 15:04:20
>
> Modified files:
> src/backend/optimizer/prep: prepunion.c
>
> Log message:
> If the inputs of a UNION/INTERSECT/EXCEPT construct all agree on the
> typmod of a particular column, mark the output with that same typmod,
> not -1 as formerly. -1 is still used if there is any disagreement.
> Part of response to bug#513.
Very nice. I know we punted typmod on several places because where
we had conflicting typmod cases in expressions. This seems like a nice
idea, keep the typmods if they are all the same. Any more places I can
add to TODO?
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | tgl | 2001-11-12 21:04:46 | pgsql/ oc/src/sgml/datatype.sgml rc/backend/pa ... |
Previous Message | momjian | 2001-11-12 20:26:39 | pgsql/doc TODO |