Re: Connection.setReadOnly()

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Connection.setReadOnly()
Дата
Msg-id 6846.1260567484@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Connection.setReadOnly()  (John R Pierce <pierce@hogranch.com>)
Список 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 по дате отправления:

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Connection.setReadOnly()
Следующее
От: Andreas Brandl
Дата:
Сообщение: keeping Connection alive