Re: PATCH: make plpgsql IN args mutable (v1)

Поиск
Список
Период
Сортировка
От David Fetter
Тема Re: PATCH: make plpgsql IN args mutable (v1)
Дата
Msg-id 20090731004058.GB28990@fetter.org
обсуждение исходный текст
Ответ на Re: PATCH: make plpgsql IN args mutable (v1)  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: PATCH: make plpgsql IN args mutable (v1)  (Jeff Davis <pgsql@j-davis.com>)
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: RFD: Don't force plpgsql IN parameters to constant
Следующее
От: Jeff Davis
Дата:
Сообщение: Re: PATCH: make plpgsql IN args mutable (v1)