Re: Documentation should state what happens, when a commit fails

From: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
To: Dave Cramer <davecramer(at)postgres(dot)rocks>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: mark maker <mark(at)makr(dot)zone>, "pgsql-docs(at)lists(dot)postgresql(dot)org" <pgsql-docs(at)lists(dot)postgresql(dot)org>
Subject: Re: Documentation should state what happens, when a commit fails
Date: 2025-05-28 18:49:52
Message-ID: 914d62974974a73595cdebb30db1634a14615dc9.camel@cybertec.at
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message PG Doc comments form 2025-05-28 20:20:51 logial replication - drop subscription.
Previous Message Dave Cramer 2025-05-28 15:09:41 Re: Documentation should state what happens, when a commit fails