"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
> ArrayExpr: should adopt the same behavior as Coalesce and
> similar nodes, ie, if all the elements show the
> same type/typmod then return that typmod
> instead of -1
...
> Comments, objections?
I'm not entirely convinced by this one. Does that mean expressions like this
would throw an error if col1 was declared as a numeric(1)?
ARRAY[col1] || 10
--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com