Re: How to assemble all fields of (any) view into a string?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: How to assemble all fields of (any) view into a string?
Дата
Msg-id 3200.1473288370@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: How to assemble all fields of (any) view into a string?  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Список pgsql-general
Jim Nasby <Jim.Nasby@BlueTreble.com> writes:
> On 9/7/16 5:32 PM, Ken Tanzer wrote:
>> I know TCL and probably Python and others can work with a record as a
>> trigger function.  But TCL doesn't seem to accept a record as an
>> argument.  Can any of the other languages that could also accomplish
>> this function? Or some other way? Thanks.

> A PL that can accept composite types (such as plpythonu) should be able
> to do this.

I think pltcl is actually the only one of our standard PLs that can't take
"record".  There's no intrinsic reason for that, it just hasn't gotten the
love the other PLs have.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: a column definition list is required for functions returning "record"
Следующее
От: Adrian Klaver
Дата:
Сообщение: Re: How to assemble all fields of (any) view into a string?