pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Doc comments form <noreply@postgresql.org>
To: pgsql-docs@lists.postgresql.org
Cc: bryn@yugabyte.com
Subject: Chapter 43.8. "Transaction Management" fails to state two critical restrictions
Date: Mon, 30 Sep 2019 04:11:47 +0000
Message-ID: <156981670710.26184.2375673917366850651@wrigleys.postgresql.org> (raw)

The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/11/plpgsql-transactions.html
Description:

This chapter fails to state:

(1) If a PL/pgSQL procedure issues "commit" then it must be called with
AUTOCOMMIT set to On. This is counter-intuitive. You'd expect the
opposite.

(2) If a PL/pgSQL procedure has a block statement with an exception section
(this might be the procedure's defining block, or an inner block) then that
block's executabe section must not issue "commit". Doing so causes a
run-time error.


view thread (3+ messages)  latest in thread

Message-ID: <156981670710.26184.2375673917366850651@wrigleys.postgresql.org>
Permalink:  ../156981670710.26184.2375673917366850651@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/156981670710.26184.2375673917366850651@wrigleys.postgresql.org

 · 

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: noreply@postgresql.org, pgsql-docs@lists.postgresql.org, bryn@yugabyte.com
  Subject: Re: Chapter 43.8. "Transaction Management" fails to state two critical restrictions
  In-Reply-To: <156981670710.26184.2375673917366850651@wrigleys.postgresql.org>

* 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