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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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