File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -305,10 +305,9 @@ $$ LANGUAGE plpgsql;
305305 for transaction
306306 control. <application>PL/pgSQL</application>'s <command>BEGIN</command>/<command>END</command>
307307 are only for grouping; they do not start or end a transaction.
308- Functions are always executed within a transaction
309- established by an outer query — they cannot start or commit that
310- transaction, since there would be no context for them to execute in.
311- However, a block containing an <literal>EXCEPTION</literal> clause effectively
308+ See <xref linkend="plpgsql-transactions"/> for information on managing
309+ transactions in <application>PL/pgSQL</application>.
310+ Also, a block containing an <literal>EXCEPTION</literal> clause effectively
312311 forms a subtransaction that can be rolled back without affecting the
313312 outer transaction. For more about that see <xref
314313 linkend="plpgsql-error-trapping"/>.
You can’t perform that action at this time.
0 commit comments