Re: committing an aborted transaction - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: committing an aborted transaction
Date
Msg-id 6396.1226785945@sss.pgh.pa.us
Whole thread Raw
In response to committing an aborted transaction  (fschmidt <fschmidt@gmail.com>)
Responses Re: committing an aborted transaction  (fschmidt <fschmidt@gmail.com>)
List pgsql-jdbc
fschmidt <fschmidt@gmail.com> writes:
> Committing an aborted transaction should throw an exception.

This is a server-side behavior, not JDBC's fault.  It's been like that
for ten years and is unlikely to be changed.  See prior discussions,
for instance here:

http://archives.postgresql.org/pgsql-bugs/2004-03/msg00179.php
http://archives.postgresql.org/pgsql-hackers/2004-07/msg00416.php
http://archives.postgresql.org/pgsql-hackers/2004-10/msg00908.php

            regards, tom lane

pgsql-jdbc by date:

Previous
From: fschmidt
Date:
Subject: committing an aborted transaction
Next
From: fschmidt
Date:
Subject: Re: committing an aborted transaction