Re: BUG #2107: Function INOUT parameter not returned to caller, causes plpgsql malfunctions

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #2107: Function INOUT parameter not returned to caller, causes plpgsql malfunctions
Дата
Msg-id 2139.1134401571@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #2107: Function INOUT parameter not returned to caller, causes plpgsql malfunctions  ("Tony S" <tony@vectorsalad.com>)
Ответы Re: BUG #2107: Function INOUT parameter not returned to caller,  (Stallone <stallone@pobox.com>)
Список pgsql-bugs
"Tony S" <tony@vectorsalad.com> writes:
> Function defined with INOUT parameter.  Value of parameter is not returned
> to calling function.

You are confused about the meaning and use of INOUT.  It's not some kind
of pass-by-reference parameter, it's just a shorthand for separate IN
and OUT parameters.  In your example, the PERFORM discards the function
result; the original value of 'outparameter' is not and cannot be
modified by the called function.

            regards, tom lane

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

Предыдущее
От: "Tony"
Дата:
Сообщение: BUG #2108: Function with OUT parameters not recognized, using plpgsql
Следующее
От: Tom Lane
Дата:
Сообщение: Re: BUG #2108: Function with OUT parameters not recognized, using plpgsql