Re: Proposal: OUT parameters for plpgsql - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proposal: OUT parameters for plpgsql
Date
Msg-id 3894.1111456997@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proposal: OUT parameters for plpgsql  (Gavin Sherry <swm@linuxworld.com.au>)
List pgsql-hackers
Gavin Sherry <swm@linuxworld.com.au> writes:
> I think that not specifying OUT parameters when invoking a function is a
> little of confusing but it gives us a lot: its much easier to develop
> since we don't have to add a stack of infrastructure for host variables,
> for one.

Also, it doesn't stop us from adding that infrastructure later.  The
call syntax SELECT * FROM foo(...) will still do what it has been doing
for awhile, but you could imagine inventing other call syntaxes that
accommodate host variables more directly.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Gavin Sherry
Date:
Subject: Re: Proposal: OUT parameters for plpgsql
Next
From: Christopher Kings-Lynne
Date:
Subject: psql and pg_dump using obselete copy commands