Re: are there ways for 'idle timeout'? - Mailing list pgsql-admin

From Konstantin Pelepelin
Subject Re: are there ways for 'idle timeout'?
Date
Msg-id opsa26mvrlhocrah@cathost.of.dtf.ru
Whole thread Raw
In response to are there ways for 'idle timeout'?  ("Konstantin Pelepelin" <checat@pochtamt.ru>)
List pgsql-admin
On Tue, 13 Jul 2004 11:31:37 +0100, Simon Riggs <simon@2ndquadrant.com>
wrote:

>> > > best solution I see is having an (per session)
>> > > idle_transaction_timeout or idle_connection_timeout
>> > > setting. But there is no such thing in postgres!

> Have you looked at statement_timeout?
> This doesn't do exactly what you want, but is close enough.
'statement_timeout' will abort statements locked by "locking idle
transaction", but I need to abort "locking idle transaction" itself.


>> > Looking into TODO I don't see any plans for it.
>> > > Is it too difficult implementing or I've missed
>> > > something or are there workarounds?
> This might be something you could do...
If I'd know C and Postgres internals.
(Then there is no assurance that developers will say "Yes, it's good". And
I'm not sure it is easy.)

For now, I need to create some additional monitoring tool and inegrate it
with all our applications.

*Very disappointed*

Konstantin

pgsql-admin by date:

Previous
From: Tom Lane
Date:
Subject: Re: Bad dumps...
Next
From: Bill Chandler
Date:
Subject: Using PL/pgSQL with statically built PostgreSQL binaries