Re: transaction timeout - Mailing list pgsql-general

From Scott Marlowe
Subject Re: transaction timeout
Date
Msg-id 1122392224.15145.68.camel@state.g2switchworks.com
Whole thread Raw
In response to transaction timeout  (Dr NoName <spamacct11@yahoo.com>)
Responses Re: transaction timeout
List pgsql-general
On Tue, 2005-07-26 at 09:40, Dr NoName wrote:
> Hi all,
>
> I have been quite satisfied with the level of support
> from the PostgreSQL community, but this time I'm
> getting nothing. So, is transaction timeout option
> planned at all? What's the alternative solution to a
> client that's hung in transaction?

The common view on this kind of thing is that if your client is broken,
you need to fix it.

That said, I have seen some folks post about writing a perl or shell
script that runs every x minutes looking for connections that have been
idle for > a certain amount of time and kill the backend associated with
it (sigterm, not -9...)

Generally speaking, I'd rather code my own solution to these problems
than do it the way Oracle does.  Often times the choices someone else
makes for you in fixing these problems are suboptimal for your system.

pgsql-general by date:

Previous
From: Janning Vygen
Date:
Subject: Re: Trigger disactivation and SELECT WAITING
Next
From: Josef Springer
Date:
Subject: Please help: Running Win2k with CP1252 codepage