Re: PL/pgSQL — "commit" illegal in the executable section of a block statement that has an exception section

2019-09-30 Thread Christophe Pettus
> On Sep 30, 2019, at 15:37, Bryn Llewellyn wrote: > I wrote up the problem here: > > https://github.com/yugabyte/yugabyte-db/issues/2464 This is documented; it's the very last line of the page you reference in the Github issue: A transaction cannot be ended inside a block with

PL/pgSQL — "commit" illegal in the executable section of a block statement that has an exception section

2019-09-30 Thread Bryn Llewellyn
I work for YugaByte, Inc (www.yugabyte.com ). YugabyteDB re-uses the source code that implements the “upper half” of PostgreSQL Version 11.2. See here: https://blog.yugabyte.com/distributed-postgresql-on-a-google-spanner-architecture-query-layer/ This means that the