transaction timeout

From: Dr NoName <spamacct11(at)yahoo(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: transaction timeout
Date: 2003-09-26 18:45:42
Message-ID: 20030926184542.74712.qmail@web12905.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi everybody,

Our aplpication uses PostgreSQL for data store. We
have a problem with the way
long-running transactions are handled.

Our application had a bug (from what I understand it
went into an infinite
loop). As a result, the transaction it was processing
was neither committed
nor rolled back. Because of that, the misbehaving
process was left holding
the locks and none of the other processes were able to
do transactions.

My question is, how do I get PostgreSQL to
automatically abort transactions
that take longer than a certain timeout?

thanks in advance,

Eugene

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2003-09-26 18:46:22 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)
Previous Message Peter Eisentraut 2003-09-26 18:40:30 Re: initdb failure (was Re: [GENERAL] sequence's plpgsql)