Hi,
On 2019-04-02 11:44:26 -0400, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> >> 2019-04-01 15:27:38.829 +07 [7524] STATEMENT: UPDATE pgbench_accounts SET
> >> abalance = 1 WHERE aid = 1;
> >> 2019-04-01 15:27:38.829 +07 [7524] PANIC: cannot abort transaction
> >> 400048276, it was already committed
>
> > But that's probably a separate issue.
>
> What that seems to indicate is that the "unexpected table_lock_tuple
> status" error was thrown during commit, which seems pretty odd.
I suspect that's a deferred trigger. But that code obviously could throw
errors, so we gotta handle that correctly.
Greetings,
Andres Freund