On Wed, Oct 21, 2020 at 06:49:37AM -0700, David G. Johnston wrote:
> On Wed, Oct 21, 2020 at 1:14 AM PG Doc comments form <nore...@postgresql.org>
> wrote:
> 
>     The following documentation comment has been logged on the website:
> 
>     Page: https://www.postgresql.org/docs/13/plpgsql-control-structures.html
>     Description:
> 
>     Search for the word indeed found here
>     https://www.postgresql.org/docs/13/plpgsql-control-structures.html#
>     PLPGSQL-STATEMENTS-RETURNING-PROCEDURE
>     and replace with inside.
> 
> 
> Specifically:
> 
> "By default, any error occurring in a PL/pgSQL function aborts execution of 
> the
> function, and indeed of the surrounding transaction as well."
> 
> Replacing it with "inside" is not an improvement.  Removing "indeed of" is
> probably sufficient.

Fixed in all branches with the attached patch.

-- 
  Bruce Momjian  <br...@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

  The usefulness of a cup is in its emptiness, Bruce Lee

diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
index 94a3b36458..9ec168b0c4 100644
--- a/doc/src/sgml/plpgsql.sgml
+++ b/doc/src/sgml/plpgsql.sgml
@@ -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:

Reply via email to