Steve Tucknott <steve(at)retsol(dot)co(dot)uk> writes:
> Before I go too far, has anyone got any ideas on this?
IIRC, we only support %ROWTYPE with function parameters. I don't think
anyone's thought about what it would take to use it in other contexts
such as columns of composite types. It might be trivial ... or not.
regards, tom lane