From: Tim Pizey <timp@melati.org>
To: pgsql-jdbc@postgresql.org
Subject: Re: how to continue using a connection after an error with autocommit=false
Date: Thu, 1 Mar 2007 20:59:29 +0000
Message-ID: <200703012059.29908.timp@melati.org> (raw)
In-Reply-To: <DE290AFE-67A3-4B0E-BFD1-B83533ED76A8@fastcrypt.com>
References: <BAY7-F2720A1254B9177F763D58796890@phx.gbl>
<200702282041.13013.timp@melati.org>
<DE290AFE-67A3-4B0E-BFD1-B83533ED76A8@fastcrypt.com>
On Wednesday 28 February 2007 22:33, Dave Cramer wrote:
> On 28-Feb-07, at 3:41 PM, Tim Pizey wrote:
> > On Tuesday 20 February 2007 10:50, Heikki Linnakangas wrote:
> >> James Im wrote:
> >>> I just find out that I cannot continue using a connection when I use
> >>> autocommit=false and that an sql insert failed.
> >>
> >> That's intended behavior in PostgreSQL.
> >
> > [snip]
> > This is new behaviour in version 8, I believe.
>
> No, this has been around since 7.x
>
> > I think this behaviour is unique to Postgresql?
>
> Possibly
>
> > Melati was developed with Postgresql version 6 as the target dbms
> > back in 2000, since then it has been extended to work with the
> > other common
> > dbmsen, but now it looks like it won't work with V8, without quite
> > a bit of
> > rework.
> >
Sorry, my bad, all Melati's tests pass on 8.1.4, without modification.
yours
Tim Pizey
--
http://melati.org/ - the flower of Java.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: timp@melati.org
Subject: Re: how to continue using a connection after an error with autocommit=false
In-Reply-To: <200703012059.29908.timp@melati.org>
References: <BAY7-F2720A1254B9177F763D58796890@phx.gbl> <200702282041.13013.timp@melati.org> <DE290AFE-67A3-4B0E-BFD1-B83533ED76A8@fastcrypt.com> <200703012059.29908.timp@melati.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox