"Karl O. Pinc" <kop@meme.com> writes:
> Speaking of documentation, it's none too clear that
> %ROWTYPE does not seem to work when declaring plpgsql
> functions.
There is noplace that claims that it does. Perhaps you
are looking for %TYPE?
regards, tom lane