Re: pgsql/src/backend/optimizer/prep prepunion.c - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql/src/backend/optimizer/prep prepunion.c
Date
Msg-id 19486.1005600576@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgsql/src/backend/optimizer/prep prepunion.c  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-committers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> 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?

UNION and CASE are the only examples where we do type resolution that
way, so they are probably the only ones that have any reason to do
typmod resolution this way ...

            regards, tom lane

pgsql-committers by date:

Previous
From: tgl@postgresql.org
Date:
Subject: pgsql/ oc/src/sgml/datatype.sgml rc/backend/pa ...
Next
From: momjian@postgresql.org
Date:
Subject: pgsql/doc TODO