returning Setof Record

Поиск
Список
Период
Сортировка
От glenn
Тема returning Setof Record
Дата
Msg-id 1062393829.11531.22.camel@odin.valhalla
обсуждение исходный текст
Ответы Re: returning Setof Record  (Avi Schwartz <avi@CFFtechnologies.com>)
Список pgsql-novice
hi
Q1 - is it at least notionally possible to declare a function to return
'setof record' - i.e. a generic composite type as opposed to a composite
type based on an exisiting table?

Q2 - Supposing it is possible When I try the above I get the error:
"A column definition list is required for functions returning RECORD"
So now I'm wondering how to define a "column defintition list" ?

Any help muchly appreciated.
Glenn


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

Предыдущее
От: "Luis H."
Дата:
Сообщение: ORDER BY question
Следующее
От: Avi Schwartz
Дата:
Сообщение: Re: returning Setof Record