Re: Passing a row (NEW) as function argument - Mailing list pgsql-general

From Tom Lane
Subject Re: Passing a row (NEW) as function argument
Date
Msg-id 14859.987627214@sss.pgh.pa.us
Whole thread Raw
In response to Passing a row (NEW) as function argument  (DaVinci <bombadil@wanadoo.es>)
List pgsql-general
DaVinci <bombadil@wanadoo.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

pgsql-general by date:

Previous
From: "Bryan White"
Date:
Subject: Re: corrupted database?
Next
From: Peter Pilsl
Date:
Subject: append all columns in where-clause