Jan Wieck <janwieck(at)yahoo(dot)com> writes:
> At the time beeing you can't do that with PL/pgSQL. The
> language can receive rows as parameters, but it cannot build
> those rows and pass them down to called functions.
Hmm, doesn't it work to do
declare var some-row-type;
select x, y, z into var;
select otherfunc(var);
regards, tom lane