returning Setof Record - Mailing list pgsql-novice

From glenn
Subject returning Setof Record
Date
Msg-id 1062393829.11531.22.camel@odin.valhalla
Whole thread Raw
Responses Re: returning Setof Record
List 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 by date:

Previous
From: "Luis H."
Date:
Subject: ORDER BY question
Next
From: Avi Schwartz
Date:
Subject: Re: returning Setof Record