pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Konstantin Pelepelin <checat@pochtamt.ru>
To: pgsql-admin@postgresql.org
Subject: Re: are there ways for 'idle timeout'?
Date: Tue, 13 Jul 2004 21:24:21 +0400
Message-ID: <opsa26mvrlhocrah@cathost.of.dtf.ru> (raw)
References: <opsavj6izuhocrah@cathost.of.dtf.ru>
	<1089430151.10763.17.camel@localhost.localdomain>
	<200407121326.41770.checat@pochtamt.ru>
	<1089714696.17493.2448.camel@stromboli>

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



view thread (5+ messages)

Message-ID: <opsa26mvrlhocrah@cathost.of.dtf.ru>
Permalink:  ../opsa26mvrlhocrah@cathost.of.dtf.ru/
Also on:    postgresql.org/message-id/opsa26mvrlhocrah@cathost.of.dtf.ru

 · 

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-admin@postgresql.org
  Cc: checat@pochtamt.ru
  Subject: Re: are there ways for 'idle timeout'?
  In-Reply-To: <opsa26mvrlhocrah@cathost.of.dtf.ru>
  References: <opsavj6izuhocrah@cathost.of.dtf.ru> <1089430151.10763.17.camel@localhost.localdomain> <200407121326.41770.checat@pochtamt.ru> <1089714696.17493.2448.camel@stromboli> <opsa26mvrlhocrah@cathost.of.dtf.ru>

* 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