Re: Connection.setReadOnly() - Mailing list pgsql-jdbc

From Tom Lane
Subject Re: Connection.setReadOnly()
Date
Msg-id 6846.1260567484@sss.pgh.pa.us
Whole thread Raw
In response to Re: Connection.setReadOnly()  (John R Pierce <pierce@hogranch.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: John R Pierce
Date:
Subject: Re: Connection.setReadOnly()
Next
From: Andreas Brandl
Date:
Subject: keeping Connection alive