Joel Palmius <joel(dot)palmius(at)mh(dot)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(at)samurai(dot)com> || PGP Key ID: DB3C29FC