From 58947869528dad323196bf79bd0b08c52c5e33c5 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 26 Oct 2020 22:38:11 -0400 Subject: [PATCH] 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 --- doc/src/sgml/plpgsql.sgml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml index 58699eb7a13..d3660407002 100644 --- a/doc/src/sgml/plpgsql.sgml +++ b/doc/src/sgml/plpgsql.sgml @@ -2573,8 +2573,8 @@ NOTICE: row = {10,11,12} By default, any error occurring in a PL/pgSQL - 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 BEGIN block with an EXCEPTION clause. The syntax is an extension of the normal syntax for a BEGIN block: