From: | David Fetter <david(at)fetter(dot)org> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Steve Prentice <prentice(at)cisco(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: PATCH: make plpgsql IN args mutable (v1) |
Date: | 2009-07-31 00:40:58 |
Message-ID: | 20090731004058.GB28990@fetter.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)cisco(dot)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(at)fetter(dot)org> http://fetter.org/
Phone: +1 415 235 3778 AIM: dfetter666 Yahoo!: dfetter
Skype: davidfetter XMPP: david(dot)fetter(at)gmail(dot)com
Remember to vote!
Consider donating to Postgres: http://www.postgresql.org/about/donate
From | Date | Subject | |
---|---|---|---|
Next Message | Jeff Davis | 2009-07-31 01:39:24 | Re: PATCH: make plpgsql IN args mutable (v1) |
Previous Message | Alvaro Herrera | 2009-07-30 23:59:23 | Re: RFD: Don't force plpgsql IN parameters to constant |