Skip site navigation (1) Skip section navigation (2)

Re: committing an aborted transaction

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: fschmidt <fschmidt(at)gmail(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: committing an aborted transaction
Date: 2008-11-15 21:52:25
Message-ID: 6396.1226785945@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-jdbc
fschmidt <fschmidt(at)gmail(dot)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

In response to

Responses

pgsql-jdbc by date

Next:From: fschmidtDate: 2008-11-15 22:20:34
Subject: Re: committing an aborted transaction
Previous:From: fschmidtDate: 2008-11-15 21:00:39
Subject: committing an aborted transaction

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group