pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: John R Pierce <pierce@hogranch.com>
Cc: Craig Ringer <craig@postnewspapers.com.au>
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Connection.setReadOnly()
Date: Fri, 11 Dec 2009 16:38:04 -0500
Message-ID: <6846.1260567484@sss.pgh.pa.us> (raw)
In-Reply-To: <4B22B881.4000306@hogranch.com>
References: <4B21737B.50009@hogranch.com>
	<alpine.BSO.2.00.0912101744080.30821@leary.csoft.net>
	<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>

John R Pierce <pierce@hogranch.com> 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



view thread (17+ messages)

Message-ID: <6846.1260567484@sss.pgh.pa.us>
Permalink:  ../6846.1260567484@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6846.1260567484@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, pierce@hogranch.com, craig@postnewspapers.com.au, oliver@opencloud.com
  Subject: Re: Connection.setReadOnly()
  In-Reply-To: <6846.1260567484@sss.pgh.pa.us>
  References: <4B21737B.50009@hogranch.com> <alpine.BSO.2.00.0912101744080.30821@leary.csoft.net> <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> <6846.1260567484@sss.pgh.pa.us>

* 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