]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: improve introductory information about procedures.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Mar 2021 16:33:50 +0000 (11:33 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 10 Mar 2021 16:33:50 +0000 (11:33 -0500)
commite0fcde7f74a573cd5ebb111f1ddc4ca890b2ec93
treecd1ebfa98f3a18e8d57b75e0bec7921fb323216c
parentea42ccbced4baeff9df9be0cb8ec3e4d42070089
Doc: improve introductory information about procedures.

Clarify the discussion in "User-Defined Procedures", by laying out
the key differences between functions and procedures in a bulleted
list.  Notably, this avoids burying the lede about procedures being
able to do transaction control.  Make the back-link in the CREATE
FUNCTION reference page more prominent, and add one in CREATE
PROCEDURE.

Per gripe from Guyren Howe.  Thanks to David Johnston for discussion.

Discussion: https://postgr.es/m/BYAPR03MB4903C53A8BB7EFF5EA289674A6949@BYAPR03MB4903.namprd03.prod.outlook.com
doc/src/sgml/ref/create_function.sgml
doc/src/sgml/ref/create_procedure.sgml
doc/src/sgml/xfunc.sgml