Re: "Custom" records? - Mailing list pgsql-general

From Neil Conway
Subject Re: "Custom" records?
Date
Msg-id 87ptv96yq8.fsf@mailbox.samurai.com
Whole thread Raw
In response to "Custom" records?  (Joel Palmius <joel.palmius@mh.se>)
List pgsql-general
Joel Palmius <joel.palmius@mh.se> writes:
> Is there a way to return a completely custom column/row record from a
> plpgsql function?

If I understand you correctly, you should be able to do this in 7.3.

http://developer.postgresql.org/docs/postgres/plpgsql-control-structures.html

(see RETURN NEXT)

Set-returning functions can also be defined using C or SQL.

Cheers,

Neil

--
Neil Conway <neilc@samurai.com> || PGP Key ID: DB3C29FC

pgsql-general by date:

Previous
From: Jeff Davis
Date:
Subject: Re: Problems with Triggers
Next
From: "Shridhar Daithankar"
Date:
Subject: Re: Debugging the backend?