Re: transaction timeout

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: transaction timeout
Дата
Msg-id 200309290136.h8T1abk13329@candle.pha.pa.us
обсуждение исходный текст
Ответ на transaction timeout  (Dr NoName <spamacct11@yahoo.com>)
Список pgsql-general
We have statement_timeout, but no transaction timeout.  Does that help?

---------------------------------------------------------------------------

Eugene Strulyov wrote:
> 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
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-general по дате отправления:

Предыдущее
От: "Angel Todorov"
Дата:
Сообщение: PostgreSQL SSL communication with SecureTcpClient (Ssl v 3.0)
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: downloading latest source from cvs