Re: Weird behavior in transaction handling (Possible bug ?) - Mailing list pgsql-jdbc

From Vadim Nasardinov
Subject Re: Weird behavior in transaction handling (Possible bug ?)
Date
Msg-id 200501141707.38043@vadim.nasardinov
Whole thread Raw
In response to Re: Weird behavior in transaction handling (Possible bug ?)  (Oliver Jowett <oliver@opencloud.com>)
Responses Re: Weird behavior in transaction handling (Possible bug ?)  (Dave Cramer <pg@fastcrypt.com>)
Re: Weird behavior in transaction handling (Possible bug ?)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-jdbc
On Friday 14 January 2005 16:38, Oliver Jowett wrote:
> It might be worthwhile having commit() throw an exception if the
> transaction did not actually commit, rather than only reporting
> server-generated errors. What do people think?

Sounds like a good idea.

> It'd be possible to have optional "automatic savepoint wrapping" in the
> driver, where every user query was transparently wrapped in
> subtransaction. You might prefer to write the code to make the driver do
> this, rather than change your application.

Also seems like a useful feature at first blush.

pgsql-jdbc by date:

Previous
From: Stephen McConnell
Date:
Subject: An I/O error occured while sending to the backend.
Next
From: Dave Cramer
Date:
Subject: Re: Weird behavior in transaction handling (Possible bug ?)