Re: OUT parameter - Mailing list pgsql-sql

From Owen Jacobson
Subject Re: OUT parameter
Date
Msg-id 144D12D7DD4EC04F99241498BB4EEDCC25EBAD@nelson.osl.com
Whole thread Raw
In response to OUT parameter  ("Daniel Caune" <daniel.caune@ubisoft.com>)
List 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 by date:

Previous
From: "Davidson, Robert"
Date:
Subject: Re: Function Parameters in GROUP BY clause cause errors
Next
From: "Daniel Caune"
Date:
Subject: Re: OUT parameter