Re: Out parameters handling - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Out parameters handling
Date
Msg-id 20090306225743.GL3901@alvh.no-ip.org
Whole thread Raw
In response to Re: Out parameters handling  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-hackers
Kevin Grittner escribió:

> I find the PostgreSQL implementation of OUT parameters, well,
> surprising.  I've used databases where stored procedures can have a
> RETURN value, OUT parameters, and result streams as three discreet
> things which can't be mistaken for one another -- which seems more
> sensible.  Is this issue in PostgreSQL a spin-off of not having stored
> procedures, and trying to shoehorn SP behavior into functions?

I think the current behavior is more a result of Postgres not having
host variables.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Out parameters handling
Next
From: Andreas 'ads' Scherbaum
Date:
Subject: Re: Validating problem in the isn contrib module