Tom Lane <t...@sss.pgh.pa.us> wrote:
 
> I don't understand the point of a RETURN value when there can be
> no caller to return a value to.
 
The version of the draft standard I last saw allowed something like:
 
SET x = CALL sp(param_a, param_b);
 
I seem to remember Sybase supported a return value as well as OUT
parameters, too; I think there it was limited to integer values and
was conventionally used to indicate overall success or failure of
the procedure.
 
-Kevin

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to