doc: simplify wording of function error affects
authorBruce Momjian <[email protected]>
Tue, 27 Oct 2020 02:38:11 +0000 (22:38 -0400)
committerBruce Momjian <[email protected]>
Tue, 27 Oct 2020 02:38:11 +0000 (22:38 -0400)
Reported-by: [email protected]
Discussion: https://postgr.es/m/160324449781.693.8298142858847611071@wrigleys.postgresql.org

Backpatch-through: 9.5

doc/src/sgml/plpgsql.sgml

index 94a3b36458dfefedda6940073cb24bf512f2fd47..9ec168b0c4cef5c1db305e329e6bb21b5ec43f99 100644 (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: