On Wed, Jan 10, 2024 at 4:25 PM Heikki Linnakangas <hlinn...@iki.fi> wrote: > The problem with CommitTransactionCommand (or rather > AbortCurrentTransaction() which has the same problem) > and ShowTransactionStateRec is that they get called in a state where > aborting can lead to a panic. If you add a "check_stack_depth()" to them > and try to reproducer scripts that Egor posted, you still get a panic.
Hmm, that's unfortunate. I'm not sure what to do about that. But I'd still suggest looking for a goto-free approach. -- Robert Haas EDB: http://www.enterprisedb.com