Re: PATCH: make plpgsql IN args mutable (v1) [REVIEW]

Поиск
Список
Период
Сортировка
От Abhijit Menon-Sen
Тема Re: PATCH: make plpgsql IN args mutable (v1) [REVIEW]
Дата
Msg-id 20090916124659.GA1797@toroid.org
обсуждение исходный текст
Ответ на Re: PATCH: make plpgsql IN args mutable (v1) [REVIEW]  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: PATCH: make plpgsql IN args mutable (v1) [REVIEW]  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
At 2009-09-16 08:37:40 -0400, andrew@dunslane.net wrote:
>
> How does this compare with PLSQL?

I don't remember anything of PL/SQL myself, but Pavel Stehule had this
to say in response to the original post:

> This behave is in conflict with PL/SQL, what should do some problems.
> I thing, so I understand well, why this behave is in PL/SQL. It hasn't
> sense in plpgsql, because OUT and INOUT params has little bit
> different syntax (calling) and nobody will do similar bugs (perhaps).
> What is interesting - this behave is in conformity with SQL/PSM, where
> parameters are mutable too.
> 
> I am for it. PL/pgSQL doesn't promise compatibility with PL/SQL and
> this change should to help some beginners (and this limit is
> artificial and unnecessary).

Given the existing OUT/INOUT syntax difference as noted, I don't think
the patch represents a significant problem.

-- ams


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: PATCH: make plpgsql IN args mutable (v1) [REVIEW]
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_hba.conf: samehost and samenet