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

Re: Weird behavior in transaction handling (Possible bug ?)

From: Vadim Nasardinov <vadimn(at)redhat(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Weird behavior in transaction handling (Possible bug ?)
Date: 2005-01-14 22:07:37
Message-ID: 200501141707.38043@vadim.nasardinov (view raw or flat)
Thread:
Lists: 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.

In response to

Responses

pgsql-jdbc by date

Next:From: Dave CramerDate: 2005-01-14 22:12:16
Subject: Re: Weird behavior in transaction handling (Possible bug ?)
Previous:From: Stephen McConnellDate: 2005-01-14 21:59:21
Subject: An I/O error occured while sending to the backend.

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