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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PATCH: make plpgsql IN args mutable (v1)
Дата
Msg-id 14491.1253411704@sss.pgh.pa.us
обсуждение исходный текст
Ответ на PATCH: make plpgsql IN args mutable (v1)  (Steve Prentice <prentice@cisco.com>)
Ответы Re: PATCH: make plpgsql IN args mutable (v1)  (Steve Prentice <prentice@cisco.com>)
Список pgsql-hackers
Steve Prentice <prentice@cisco.com> writes:
> This patch changes plpgsql IN parameters so they are mutable.  

I've applied this, since the consensus seemed to be in favor of it.

> I decided not to update the docs for this change because the docs  
> don't currently indicate that an IN parameter is constant and I didn't  
> want to encourage it because it isn't universally considered good  
> programming practice to assign to an IN parameter. If others think we  
> need a doc change for this, I'll update the patch.

I agree, no need to say anything one way or the other in the plpgsql docs.
We'll want to mention it in the release notes of course.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Anonymous code blocks
Следующее
От: Tom Lane
Дата:
Сообщение: Re: updated hstore patch