Re: Error on failed COMMIT - Mailing list pgsql-hackers

From Vladimir Sitnikov
Subject Re: Error on failed COMMIT
Date
Msg-id CAB=Je-FOmN5hq3gwDQm=gCzg=CzDhTxE0yxXdR1ThYmHayTxBw@mail.gmail.com
Whole thread Raw
In response to Re: Error on failed COMMIT  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
>do you think most common connection poolers would continue to
>work after making this change?

Of course, they should.
There are existing cases when commit responds with an error: deferrable constraints.

There's nothing new except it is suggested to make the behavior of commit/prepare failure (e.g. "can't commit the transaction because...") consistent with other commit failures (e.g. deferred violation).

Vladimir

pgsql-hackers by date:

Previous
From: Aditya Toshniwal
Date:
Subject: Re: PG v12.2 - Setting jit_above_cost is causing the server to crash
Next
From: Robert Haas
Date:
Subject: Re: Error on failed COMMIT