Re: Transaction Management

2020-07-21 Thread Bruce Momjian
On Wed, Jul 15, 2020 at 10:52:04AM +0100, James King wrote: > Hi Bruce, > > Thanks for taking a look at this. > > This is really about making a limitation obvious.  In other parts of the > documentation, like table partitioning, limitations are really spelled out, > good solid health warnings for

Re: Transaction Management

2020-07-15 Thread James King
n the website: > > > > Page: https://www.postgresql.org/docs/12/plpgsql-transactions.html > > Description: > > > > Hello, > > > > We are looking to use transaction management and have run into a > limitation > > when the procedure is sec

Re: Transaction Management

2020-07-14 Thread Bruce Momjian
On Tue, Jul 7, 2020 at 10:46:59AM +, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/12/plpgsql-transactions.html > Description: > > Hello, > > We are looking to use transac

Transaction Management

2020-07-07 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/12/plpgsql-transactions.html Description: Hello, We are looking to use transaction management and have run into a limitation when the procedure is security definer. There doesn't appe

Re: Transaction Management requires Autocommit

2020-01-10 Thread Bruce Momjian
On Mon, Dec 30, 2019 at 10:15:35AM +, PG Doc comments form wrote: > The following documentation comment has been logged on the website: > > Page: https://www.postgresql.org/docs/11/plpgsql-transactions.html > Description: > > It's worth mentioning that "Tran

Transaction Management requires Autocommit

2019-12-31 Thread PG Doc comments form
The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/11/plpgsql-transactions.html Description: It's worth mentioning that "Transaction Management" requires "Autocommit" to be ON. Otherwise you get an error.

Re: Chapter 43.8. "Transaction Management" fails to state two critical restrictions

2019-09-30 Thread Bryn Llewellyn
Hello, Bruce. (We met at the OUGN conference last March on the Oslo-Kiel ferry.) Thanks for your reply. 1. About AUTOCOMMIT It’s very hard to get a clear account of what AUTOCOMMIT really is. So consider the example from the docs section that I cited, and run these psql commands at its prompt

Re: Chapter 43.8. "Transaction Management" fails to state two critical restrictions

2019-09-30 Thread Bruce Momjian
On Mon, Sep 30, 2019 at 04:11:47AM +, PG Doc comments form wrote: > 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 issue

Chapter 43.8. "Transaction Management" fails to state two critical restrictions

2019-09-30 Thread PG Doc comments form
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