Received: from localhost (maia-5.hub.org [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id 072739FB63A for ; Wed, 28 Feb 2007 16:57:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-new, port 10024) with ESMTP id 37689-02 for ; Wed, 28 Feb 2007 16:56:56 -0400 (AST) X-Greylist: delayed 00:17:39.442118 by SQLgrey-1.7.4 Received: from queue03-winn.ispmail.ntl.com (queue03-winn.ispmail.ntl.com [81.103.221.57]) by postgresql.org (Postfix) with ESMTP id 5252D9FB5BA for ; Wed, 28 Feb 2007 16:57:15 -0400 (AST) Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout03-winn.ispmail.ntl.com with ESMTP id <20070228203933.STCU1468.mtaout03-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com> for ; Wed, 28 Feb 2007 20:39:33 +0000 Received: from [192.168.1.3] (really [82.5.162.90]) by aamtaout04-winn.ispmail.ntl.com with ESMTP id <20070228203933.SHGI29112.aamtaout04-winn.ispmail.ntl.com@[192.168.1.3]> for ; Wed, 28 Feb 2007 20:39:33 +0000 From: Tim Pizey Organization: Melati To: pgsql-jdbc@postgresql.org Subject: Re: how to continue using a connection after an error with autocommit=false Date: Wed, 28 Feb 2007 20:41:12 +0000 User-Agent: KMail/1.9.1 References: <45DAD28A.2010907@enterprisedb.com> In-Reply-To: <45DAD28A.2010907@enterprisedb.com> X-Face: :KEgn1q!?+,eFy-l4}>Y3o)FS>=WG'85QuK7M(D+~HURj\kxB?vYID; ]8B2'a>=?utf-8?q?thWQE=7Dc*=0A=09Aj=2E=5F=7E=3B=5B=3B5i*=7E=24Jw=2E=5CZJ?=(j5]^etSllH-rLd3X`4(fPtEA; X`i5G+`y=:F/W`E1zFj|C(=?utf-8?q?/=27l=0A=09=7BhdTAa1?=(cqQzXBkz,OJMR^%oXIiW4:Uc[|8%3v=N-8UL8-5s>%y"tT_&,W@WsWp,=?utf-8?q?r1B=7EKD=0A=09o3=25IaG-pz=5EEyQZsphFZ*1?=(hdJ\}Y]bt(#Sr$|ZX`y9WjcCu/7YO@=?utf-8?q?R5F3TPn=7E0xru=7DVkXo+=0A=09=60=5F8?="au-$a:|`c7bVHcA MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702282041.13013.timp@melati.org> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200702/157 X-Sequence-Number: 16713 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. I think this behaviour is unique to Postgresql? 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. Is this behaviour specified by a standard? What are the advantages? yours Tim Pizey -- http://melati.org/ - the flower of Java.