Re: RFC for adding typmods to functions

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: RFC for adding typmods to functions
Дата
Msg-id 162867790911172256y5e08b67ey799518eb33ea6836@mail.gmail.com
обсуждение исходный текст
Ответ на Re: RFC for adding typmods to functions  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
>
> So I guess really can't get worked up about the idea of propagating
> this information through the type system.  Even suppose we eventually
> take the steps you suggesting and make it so that varchar(30) ||
> varchar(40) yields varchar(70).  What good is that?

I see main sense in enhancing warning system in plpgsql - or other SQL
PL languages. When you use % reftypes - then there are potential risk
so space (variable, column) isn't well dimensioned.

Pavel


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: actualised funcs typmod patch
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: RFC for adding typmods to functions