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

From: Bryn Llewellyn <bryn(at)yugabyte(dot)com>
To: pgsql-hackers list <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Cc: Bruce Momjian <bruce(at)momjian(dot)us>
Subject: PL/pgSQL — "commit" illegal in the executable section of a block statement that has an exception section
Date: 2019-09-30 22:37:56
Message-ID: B6D3032E-E69E-4856-B00A-D9F973AB2CFF@yugabyte.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

I work for YugaByte, Inc (www.yugabyte.com <http://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 problem that the PostgreSQL issue I describe tracks affects users of YugabyteDB too.

I wrote up the problem here:

https://github.com/yugabyte/yugabyte-db/issues/2464 <https://github.com/yugabyte/yugabyte-db/issues/2464>

Please read my account and comment.

Peter Eisentraut, I hope that you’ll read this. I’m told that you're the authority for txn control in PL/pgSQL.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2019-09-30 23:07:26 Re: Don't codegen deform code for virtual tuples in expr eval for scan fetch
Previous Message David Steele 2019-09-30 22:20:31 Re: Commit fest 2019-09