Re: Need help with clarification on stored procedure support in PostGreSQL database
guyren@relevantlogic.com <guyren@gmail.com>
From: Guyren Howe <guyren@gmail.com>
To: Tom Lane <tgl@sss.pgh.pa.us>, raf <raf@raf.org>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>, Bysani, Ram <rbysani@informatica.com>, pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Date: 2021-03-09T04:31:53Z
Lists: pgsql-general
This seems like an important consideration. I’ve spent 10 minutes searching the documentation for PG 11 and can’t find where it is documented. Perhaps it should be made more prominent? On Mar 8, 2021, 16:53 -0800, raf <raf@raf.org>, wrote: > On Mon, Mar 08, 2021 at 06:31:56PM -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote: > > > raf <raf@raf.org> writes: > > > Is there any important different between a stored procedure and > > > a stored function that returns void? I've been using functions > > > for everything but calling them procedures in my head (even though > > > most of them do return a value or result set). > > > > A procedure can commit or rollback a transaction (and then start > > a new one). > > > > regards, tom lane > > thanks. > > cheers, > raf > > >
Commits
-
Doc: improve introductory information about procedures.
- e0fcde7f74a5 11.12 landed
- 9a4e4af42023 13.3 landed
- 74207b8fc5a0 12.7 landed
- 227338b00d49 14.0 landed
-
Support for OUT parameters in procedures
- 2453ea142233 14.0 cited