Idle in Transaction

From: manugarciac <manugarciac(at)hotmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Idle in Transaction
Date: 2010-02-05 12:57:36
Message-ID: 27467427.post@talk.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


I see that every once in a while I get an Idle in Transaction that never
ends. This eventually becames a problem, as this Idle in Transaction holds
AccessShareLocks. Even if it didn't, if I reach the maximum number of
transactions my application dies. Is there any way to know what the
transaction did in the past so that I can now which particular query causes
this problem within my application? Or at least a way to set a timeout to
this transactions? The ideal solution would be to avoid it from happening,
but at least a timeout would make it less dangerous.
--
View this message in context: http://old.nabble.com/Idle-in-Transaction-tp27467427p27467427.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Albe Laurenz 2010-02-05 13:29:37 Re: How to escape apostrophes when apostrophes already used to escape something else
Previous Message Ivan Sergio Borgonovo 2010-02-05 12:06:48 Re: Query to find list of dates between two dates