Re: OUT parameter

From: "Owen Jacobson" <ojacobson(at)osl(dot)com>
To: <pgsql-sql(at)postgresql(dot)org>
Subject: Re: OUT parameter
Date: 2006-03-23 17:12:32
Message-ID: 144D12D7DD4EC04F99241498BB4EEDCC25EBAD@nelson.osl.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Tom Lane wrote:

> "Owen Jacobson" <ojacobson(at)osl(dot)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 reading Daniel Caune's notes on the docs now.

-Owen

Browse pgsql-sql by date

  From Date Subject
Next Message Daniel Caune 2006-03-23 19:20:26 Re: OUT parameter
Previous Message Davidson, Robert 2006-03-23 13:30:28 Re: [SQL] Function Parameters in GROUP BY clause cause errors