DaVinci <bombadil(at)wanadoo(dot)es> writes:
> How can I pass a row of a view as an argument to function. I have tried
> something like:
> create function pepis(view_name) returns integer as .../...
This case turns out to have exposed a number of bugs in both the
planner and plpgsql. I think I've fixed 'em all, but you might like
to try your example against current sources (CVS, or a snapshot dated
after today) to see if it's fixed for you.
regards, tom lane