X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DB5CF3A259C for ; Fri, 14 Jan 2005 23:45:02 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 35920-09 for ; Fri, 14 Jan 2005 23:44:58 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 07F2F3A2353 for ; Fri, 14 Jan 2005 23:44:53 +0000 (GMT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j0ENisPI027169 for ; Fri, 14 Jan 2005 18:44:54 -0500 (EST) To: pgsql-jdbc@postgresql.org Subject: Re: Weird behavior in transaction handling (Possible bug ?) In-reply-to: <200501141707.38043@vadim.nasardinov> References: <20050114161304.32600.qmail@web14223.mail.yahoo.com> <41E83BE1.2020909@opencloud.com> <200501141707.38043@vadim.nasardinov> Comments: In-reply-to Vadim Nasardinov message dated "Fri, 14 Jan 2005 17:07:37 -0500" Date: Fri, 14 Jan 2005 18:44:53 -0500 Message-ID: <27168.1105746293@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.004 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200501/138 X-Sequence-Number: 12018 Vadim Nasardinov writes: > 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. Doesn't the JDBC spec have anything to say about what this should do? regards, tom lane