Re: OUT parameter - Mailing list pgsql-sql

From Daniel Caune
Subject Re: OUT parameter
Date
Msg-id 1E293D3FF63A3740B10AD5AAD88535D201D9F9FA@UBIMAIL1.ubisoft.org
Whole thread Raw
In response to OUT parameter  ("Daniel Caune" <daniel.caune@ubisoft.com>)
List pgsql-sql
> > "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 reading Daniel Caune's
notes
> on the docs now.
>
> -Owen

Funny!  I started that thread on OUT parameter; that's a kind of
circle... :-)

--
Daniel CAUNE
Ubisoft Online Technology
(514) 4090 2040 ext. 5418


pgsql-sql by date:

Previous
From: "Owen Jacobson"
Date:
Subject: Re: OUT parameter
Next
From: "Todd Kennedy"
Date:
Subject: Question about One to Many relationships