pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: David G. Johnston <david.g.johnston@gmail.com>
Cc: bob.henkel@gmail.com, Pg Docs <pgsql-docs@lists.postgresql.org>
Subject: Re: Word fix
Date: Mon, 26 Oct 2020 22:38:32 -0400
Message-ID: <20201027023832.GF4951@momjian.us> (raw)
In-Reply-To: <CAKFQuwbLb16kwO_n62fu+=u-OHN8rhaAxZog3VAq-HNf4Hx8jw@mail.gmail.com>
References: <160324449781.693.8298142858847611071@wrigleys.postgresql.org>
	<CAKFQuwbLb16kwO_n62fu+=u-OHN8rhaAxZog3VAq-HNf4Hx8jw@mail.gmail.com>

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 <noreply@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  <bruce@momjian.us>        https://momjian.us
  EnterpriseDB                             https://enterprisedb.com

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

Attachments:

plpgsql.diff (text/x-diff, 768B) download 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:

view thread (3+ messages)

Message-ID: <20201027023832.GF4951@momjian.us>
Permalink:  ../20201027023832.GF4951@momjian.us/
Also on:    postgresql.org/message-id/20201027023832.GF4951@momjian.us

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: bruce@momjian.us, david.g.johnston@gmail.com, pgsql-docs@lists.postgresql.org
  Subject: Re: Word fix
  In-Reply-To: <20201027023832.GF4951@momjian.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox