Re: plpgsql and rowtypes

Started by Tom Laneover 24 years ago1 messagesgeneral
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

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