Pls mention ERROR: 2D000: cannot commit while a subtransaction is active on this page

From: PG Doc comments form <noreply(at)postgresql(dot)org>
To: pgsql-docs(at)lists(dot)postgresql(dot)org
Cc: bryn(at)yugabyte(dot)com
Subject: Pls mention ERROR: 2D000: cannot commit while a subtransaction is active on this page
Date: 2019-10-02 15:58:52
Message-ID: 157003193298.1119.13245466204196535029@wrigleys.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

The following documentation comment has been logged on the website:

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

Please add a note after this sentence “A transaction cannot be ended inside
a block with exception handlers.” (at the bottom of the page) thus:

<<
If a block statement has an exception section, then executing either
“commit” or “rollback” from the block statement’s executable section will
cause this error:

ERROR: 2D000: cannot commit while a subtransaction is active

This doc change will increase that chance that search engines will find this
page.
>>

Browse pgsql-docs by date

  From Date Subject
Next Message Tom Lane 2019-10-02 16:41:44 Re: WITH RECURSIVE (Documentation section 7.8.1) Note
Previous Message PG Doc comments form 2019-10-02 13:41:27 WITH RECURSIVE (Documentation section 7.8.1) Note