Re: output parameters in functions?

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: aled(at)tesco(dot)net, pgsql-novice(at)postgresql(dot)org
Subject: Re: output parameters in functions?
Date: 2003-10-10 17:29:00
Message-ID: 200310101029.00874.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Aled,

> So, is it possible to define output parameters in functions?

No. Nobody's opposed to this ... it would most likely be part of a CREATE
PROCEDURE implementation ... but nothing is built or even in process.

I'd suggest using 7.3's SET RETURNING FUNCTIONS to return multiple values.
Check out http://techdocs.postgresql.org/guides/SetReturningFunctions

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Fromme 2003-10-10 18:16:28 Re: Foreign key error...
Previous Message Derrick Betts 2003-10-10 17:28:12 Foreign key error...