Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id C3143632CA0 for ; Fri, 11 Dec 2009 17:38:18 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 43620-07 for ; Fri, 11 Dec 2009 21:38:11 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 7C60C632A1B for ; Fri, 11 Dec 2009 17:38:11 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id nBBLc4gx006847; Fri, 11 Dec 2009 16:38:04 -0500 (EST) To: John R Pierce cc: Craig Ringer , Oliver Jowett , pgsql-jdbc@postgresql.org Subject: Re: Connection.setReadOnly() In-reply-to: <4B22B881.4000306@hogranch.com> References: <4B21737B.50009@hogranch.com> <4B219025.5070607@hogranch.com> <4B219538.2090203@opencloud.com> <4B2198E4.5090306@hogranch.com> <4B219D76.1080600@opencloud.com> <4B225922.1090705@postnewspapers.com.au> <17892.1260545186@sss.pgh.pa.us> <4B22B881.4000306@hogranch.com> Comments: In-reply-to John R Pierce message dated "Fri, 11 Dec 2009 13:24:17 -0800" Date: Fri, 11 Dec 2009 16:38:04 -0500 Message-ID: <6846.1260567484@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 200912/31 X-Sequence-Number: 20112 John R Pierce writes: > I've been using this... > to detect old stale transactions and other long running operations > in 8.4, there's a different high water mark I should be using instead? No, the point of my comment was just that IDLE-in-transaction isn't as dangerous as it used to be, from the perspective of whether VACUUM can reclaim dead rows. There are still lots of other reasons to not want transactions sitting open without need. They might be holding locks for example. regards, tom lane