Re: OUT parameter

Поиск
Список
Период
Сортировка
От Owen Jacobson
Тема Re: OUT parameter
Дата
Msg-id 144D12D7DD4EC04F99241498BB4EEDCC25EBAD@nelson.osl.com
обсуждение исходный текст
Ответ на OUT parameter  ("Daniel Caune" <daniel.caune@ubisoft.com>)
Список pgsql-sql
Tom Lane wrote:

> "Owen Jacobson" <ojacobson@osl.com> writes:
> > I'd say there's no problem with this, PROVIDED you can ensure you'll
> > never abort before completing the computation.
>
> Not really an issue in Postgres: we do not support pass-by-reference
> parameters and are unlikely to start doing so.  There isn't any way
> that you can affect locals of a calling procedure before you return.

Then I've misunderstood the semantics of OUT and more importantly INOUT parameters.  Thanks for the correction; I'm
readingDaniel Caune's notes on the docs now. 

-Owen


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

Предыдущее
От: "Davidson, Robert"
Дата:
Сообщение: Re: Function Parameters in GROUP BY clause cause errors
Следующее
От: "Daniel Caune"
Дата:
Сообщение: Re: OUT parameter