Re: PATCH: make plpgsql IN args mutable (v1) - Mailing list pgsql-hackers

From David Fetter
Subject Re: PATCH: make plpgsql IN args mutable (v1)
Date
Msg-id 20090731004058.GB28990@fetter.org
Whole thread Raw
In response to Re: PATCH: make plpgsql IN args mutable (v1)  (Robert Haas <robertmhaas@gmail.com>)
Responses Re: PATCH: make plpgsql IN args mutable (v1)
List pgsql-hackers
On Thu, Jul 30, 2009 at 05:06:17PM -0400, Robert Haas wrote:
> On Thu, Jul 30, 2009 at 4:37 PM, Steve Prentice<prentice@cisco.com> wrote:
> > Since I didn't get completely shot out of the water and a couple people
> > seemed to think it was helpful, I'm submitting this patch for consideration
> > in the next commitfest.
> >
> > This patch changes plpgsql IN parameters so they are mutable. Previously,
> > they were being forced constant. This patch modifies the plpgsql.sql
> > regression test and corresponding .out file. The regression test also makes
> > sure the passed in parameter does not get changed in the calling function.

Wouldn't INOUT parameters cover this case?

Cheers,
David.
-- 
David Fetter <david@fetter.org> http://fetter.org/
Phone: +1 415 235 3778  AIM: dfetter666  Yahoo!: dfetter
Skype: davidfetter      XMPP: david.fetter@gmail.com

Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: RFD: Don't force plpgsql IN parameters to constant
Next
From: Jeff Davis
Date:
Subject: Re: PATCH: make plpgsql IN args mutable (v1)