Re: Proposal: casts row to array and array to row

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Proposal: casts row to array and array to row
Дата
Msg-id CAFj8pRDediJUfX7iCqGSGwNp12Hk=w0HnpkSW0bquQMeHWrupA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposal: casts row to array and array to row  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
>
> sometimes he can use a numeric or int array, sometimes he have to
> select text array. Target type is selected by user, and cast fail when
> conversion is not possible.
>

using a some selected type (for array field) allows a processing in plpgsql.

motivation for this feature is simplification and speedup similar
requests like this

http://stackoverflow.com/questions/7711432/how-to-set-value-of-composite-variable-field-using-dynamic-sql/7722575#7722575

Pavel


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Proposal: casts row to array and array to row
Следующее
От: Boszormenyi Zoltan
Дата:
Сообщение: Re: Proposal: casts row to array and array to row