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 6AFA1329E51 for ; Sat, 18 Sep 2004 01:56:02 +0100 (BST) 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 68787-10 for ; Sat, 18 Sep 2004 00:55:55 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id E250B329D8C for ; Sat, 18 Sep 2004 01:55:56 +0100 (BST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=opencloud.com) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1C8TVt-0005T8-00; Sat, 18 Sep 2004 12:55:41 +1200 Message-ID: <414B878B.1060801@opencloud.com> Date: Sat, 18 Sep 2004 12:55:39 +1200 From: Oliver Jowett User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Lane Cc: John R Pierce , pgsql-jdbc@postgresql.org Subject: Re: "Idle in Transaction" revisited. References: <0dfb01c49d0e$5c61c1f0$0200a8c0@hogranch.com> <26344.1095464431@sss.pgh.pa.us> In-Reply-To: <26344.1095464431@sss.pgh.pa.us> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/92 X-Sequence-Number: 10982 Tom Lane wrote: > "John R Pierce" writes: > >>We've been running into a *lot* of problems with "Idle in Transaction" >>threads causing long term blockage of VACUUM's ability to free up dead rows. > > > Yeah, that's from prematurely issuing BEGIN. I believe there's a > solution for this in the most recent JDBC driver versions --- but > I dunno if it's in any official releases yet. The "development driver" versions on jdbc.postgresql.org have this fixed as part of the V3 overhaul. I'm not sure about the driver that's in the 7.4 tree. -O