We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a788db commit 243a3b9Copy full SHA for 243a3b9
doc/src/sgml/xfunc.sgml
@@ -84,8 +84,11 @@
84
A procedure is a database object similar to a function. The difference is
85
that a procedure does not return a value, so there is no return type
86
declaration. While a function is called as part of a query or DML
87
- command, a procedure is called explicitly using
88
- the <xref linkend="sql-call"/> statement.
+ command, a procedure is called in isolation using
+ the <xref linkend="sql-call"/> command. If the CALL command is not
89
+ part of an explicit transaction, a procedure in many server-side
90
+ languages can commit, rollback, and begin new transactions during
91
+ its execution, which is not possible in functions.
92
</para>
93
94
<para>
0 commit comments