Re: Adding a typmod field to Const et al

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

No, because the result of the || operator won't have a specific typmod.
        regards, tom lane


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

Предыдущее
От: Gregory Stark
Дата:
Сообщение: Re: Adding a typmod field to Const et al
Следующее
От: Gaetano Mendola
Дата:
Сообщение: Re: Lock table in non-volatile functions