Tom Lane wrote:
> "Pavel Stehule" <pavel.stehule@gmail.com> writes:
>> On 26/01/2008, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>>> Although this won't work at the SQL level in 8.1, I think you might be
>>> able to accomplish the equivalent within plpgsql by assigning the
>>> rowtype value to a text variable.
>
>> you lost names :(.
>
> And datatype info too; but AFAICT that's exactly what the OP wants.
Thanks! Having names would be great, but this is sufficient for now.
(I've tested it and it works!).