pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Word fix
3+ messages / 3 participants
[nested] [flat]

Commits from this thread:
  2020-10-27 2f17fe4318 209e8e4c87 3b89764231 5894786952 98529445a3 7868b6d0d7 a645c08838  doc:  simplify wording of function error affects
* Word fix
@ 2020-10-21 01:41  PG Doc comments form <noreply@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: PG Doc comments form @ 2020-10-21 01:41 UTC (permalink / raw)
  To: pgsql-docs@lists.postgresql.org; +Cc: bob.henkel@gmail.com

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-PROC...
and replace with inside.


^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Word fix
@ 2020-10-21 13:49  David G. Johnston <david.g.johnston@gmail.com>
  parent: PG Doc comments form <noreply@postgresql.org>
  0 siblings, 1 reply; 3+ messages in thread

From: David G. Johnston @ 2020-10-21 13:49 UTC (permalink / raw)
  To: bob.henkel@gmail.com, Pg Docs <pgsql-docs@lists.postgresql.org>

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-PROC...
> 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.

David J.

^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: Word fix
@ 2020-10-27 02:38  Bruce Momjian <bruce@momjian.us>
  parent: David G. Johnston <david.g.johnston@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Bruce Momjian @ 2020-10-27 02:38 UTC (permalink / raw)
  To: David G. Johnston <david.g.johnston@gmail.com>; +Cc: bob.henkel@gmail.com, Pg Docs <pgsql-docs@lists.postgresql.org>

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:
^ permalink raw reply [nested|flat] 3+ messages in thread


end of thread, other threads:[~2020-10-27 02:38 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2020-10-21 01:41 Word fix PG Doc comments form <noreply@postgresql.org>
2020-10-21 13:49 ` David G. Johnston <david.g.johnston@gmail.com>
2020-10-27 02:38   ` Bruce Momjian <bruce@momjian.us>

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