Re: Adding a typmod field to Const et al

Поиск
Список
Период
Сортировка
От Gregory Stark
Тема Re: Adding a typmod field to Const et al
Дата
Msg-id 871wjoln43.fsf@stark.xeocode.com
обсуждение исходный текст
Ответ на Adding a typmod field to Const et al  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Adding a typmod field to Const et al  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
"Tom Lane" <tgl@sss.pgh.pa.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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Buildfarm feature request: some way to track/classify failures
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Adding a typmod field to Const et al