"Thomas Chille" <thomas(at)chille(dot)de> writes:
> Now I understand that i can not split easily my scripts into logical units but what i not understand is the documention not correct
> or is my problem not similiar to the example in point 37.4.3 on http://www.postgresql.org/docs/7.4/static/plpgsql-declarations.html
> ?
It is, but the only sort of operation you can apply to a row variable in
plpgsql is to extract a field from it. Other operations like calling a
function on it don't work (yet).
regards, tom lane