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