Re: function transaction scope question

Поиск
Список
Период
Сортировка
От John DeSoi
Тема Re: function transaction scope question
Дата
Msg-id C200C004-B7D7-4F51-8CD2-36AFA7BAA5C6@pgedit.com
обсуждение исходный текст
Ответ на Re: function transaction scope question  ("Wright, George" <George.Wright@infimatic.com>)
Список pgsql-novice
On Jan 15, 2009, at 8:43 AM, Wright, George wrote:

> Then if there is a large amount of code all wrapped by a single
> transaction and it hangs somewhere in the code, what technique can be
> used to abort the transaction? (It's not really a deadlock)

I believe there is a statement timeout setting where an automatic
abort could be executed. If you want to abort a running query manually
see pg_cancel_backend:


http://www.postgresql.org/docs/8.3/interactive/functions-admin.html





John DeSoi, Ph.D.





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: order by differences: locale problem?
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: debugging plpgsql functions