On Sun, Jun 18, 2006 at 06:42:28PM +0200, Greg Quinn wrote:
> I am creating a simple FUNCTION that returns a few columns of data from a
> table.
>
> Just a question, in order to get this working, is there a general type I can
> return, that I can use as a generic type for all my different functions?
>
> Or do I need to create a custom type for each FUNCTION?
In 8.1 you can use OUT or INOUT parameters; in earlier versions you
can create a custom type or use "record". If you return "record"
then you'll need to provide a column list when you call the function.
--
Michael Fuhr