doc: simplify wording of function error affects

Reported-by: bob.henkel@gmail.com

Discussion: https://postgr.es/m/160324449781.693.8298142858847611071@wrigleys.postgresql.org

Backpatch-through: 9.5
This commit is contained in:
Bruce Momjian 2020-10-26 22:38:11 -04:00
parent e9661f2b0f
commit 2f17fe4318
1 changed files with 2 additions and 2 deletions

View File

@ -2670,8 +2670,8 @@ NOTICE: row = {10,11,12}
<para>
By default, any error occurring in a <application>PL/pgSQL</application>
function aborts execution of the function, and indeed of the
surrounding transaction as well. You can trap errors and recover
function aborts execution of the function and the
surrounding transaction. You can trap errors and recover
from them by using a <command>BEGIN</command> block with an
<literal>EXCEPTION</literal> clause. The syntax is an extension of the
normal syntax for a <command>BEGIN</command> block: