Dave Trombley <dtrom@bumba.net> writes:
> test'# DECLARE
> test'# tt testtable;
Try
DECLARE
tt testtable%ROWTYPE;
Not sure why plpgsql insists on the explicit marker that a rowtype is
meant, but it does.
I'll fix the documentation to explain this correctly.
regards, tom lane