Returning with a userd defined type (PL/pgSQL)

Поиск
Список
Период
Сортировка
От Együd Csaba
Тема Returning with a userd defined type (PL/pgSQL)
Дата
Msg-id 000f01c30aeb$8393f510$200a0a0a@notebook
обсуждение исходный текст
Ответы Re: Returning with a userd defined type (PL/pgSQL)
Список pgsql-general
Hello,

I would like to return a set with a self-defined type.
Actually this type contains a subset of a physical table's columns and some
other columns.
It should hold rows which are filled in with the table data on the one hand
and the additionally calculated data on the other hand.

I can do it when I want to return a set provided by a query (using return
next;), but how can I extend this structure with additional information?

Thank you in advance.

Best Regards
Csaba


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

Предыдущее
От: Robert Treat
Дата:
Сообщение: Re: [SQL] rewriting values with before trigger
Следующее
От: Andrew Sullivan
Дата:
Сообщение: Re: Solaris