pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Owen Jacobson <ojacobson@osl.com>
To: pgsql-sql@postgresql.org
Subject: Re: OUT parameter
Date: Thu, 23 Mar 2006 09:12:32 -0800
Message-ID: <144D12D7DD4EC04F99241498BB4EEDCC25EBAD@nelson.osl.com> (raw)

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 reading Daniel Caune's notes on the docs now.

-Owen



view thread (5+ messages)  latest in thread

Message-ID: <144D12D7DD4EC04F99241498BB4EEDCC25EBAD@nelson.osl.com>
Permalink:  ../144D12D7DD4EC04F99241498BB4EEDCC25EBAD@nelson.osl.com/
Also on:    postgresql.org/message-id/144D12D7DD4EC04F99241498BB4EEDCC25EBAD@nelson.osl.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: ojacobson@osl.com
  Subject: Re: OUT parameter
  In-Reply-To: <144D12D7DD4EC04F99241498BB4EEDCC25EBAD@nelson.osl.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox