Re: Documentation should state what happens, when a commit fails - Mailing list pgsql-docs

From Laurenz Albe
Subject Re: Documentation should state what happens, when a commit fails
Date
Msg-id 914d62974974a73595cdebb30db1634a14615dc9.camel@cybertec.at
Whole thread Raw
In response to Re: Documentation should state what happens, when a commit fails  (Dave Cramer <davecramer@postgres.rocks>)
List pgsql-docs
On Wed, 2025-05-28 at 11:09 -0400, Dave Cramer wrote:
> Somewhat annoying feature of this behaviour is that when COMMIT is issued on an aborted transaction no error is
reported.
> Most drivers work around this problem by keeping track of the previous error and reporting an error on the COMMIT.

We have been there before:
https://postgr.es/m/b9fb50dc-0f6e-15fb-6555-8ddb86f4aa71%40postgresfriends.org
Nothing came of that discussion though.

Yours,
Laurenz Albe



pgsql-docs by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Documentation should state what happens, when a commit fails