Re: returning multiple result sets from a stored procedure - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: returning multiple result sets from a stored procedure
Date
Msg-id 1284094156.31815.2.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: returning multiple result sets from a stored procedure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On tor, 2010-09-09 at 16:16 -0400, Tom Lane wrote:
> You might care to go back and re-read some of the extensive prior
> threads about this, but to my mind the main thing that would justify
> inventing a separate PROCEDURE facility is if procedures were to
> execute outside the transaction system, so that they could start and
> stop transactions for themselves.

Given what the SQL standard says, a "procedure" certainly has to be
defined as syntactic sugar for "function returns void".  Special
transaction handling would then have to be an additional attribute of
the procedure.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: returning multiple result sets from a stored procedure
Next
From: Darren Duncan
Date:
Subject: Re: returning multiple result sets from a stored procedure