Re: Passing a row (NEW) as function argument

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: DaVinci <bombadil(at)wanadoo(dot)es>
Cc: Lista PostgreSql <pgsql-general(at)postgresql(dot)org>
Subject: Re: Passing a row (NEW) as function argument
Date: 2001-04-18 20:53:34
Message-ID: 14859.987627214@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-04-18 20:59:31 Re: corrupted database?
Previous Message Keith Menard 2001-04-18 20:51:23 PL/pgSQL problems