Re: Logging conflicted queries on deadlocks

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Logging conflicted queries on deadlocks
Дата
Msg-id 20080228133427.GF4764@alvh.no-ip.org
обсуждение исходный текст
Ответ на Logging conflicted queries on deadlocks  (ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>)
Список pgsql-hackers
ITAGAKI Takahiro wrote:

> There are some open issues. One of the issues is that the killed query is
> logged by log_min_error_statement, but conflicted query is logged in DETAIL.
> Killed query is logged only on server but conflicted queries are
> sent to both server and client. In addition, if log_min_error_statement
> is less than ERROR level, only the conflicted queries are logged.
> -- it's inconsistent and unsymmetric.

Hm, your patches crashes for me when there are 3 sessions deadlocked.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


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

Предыдущее
От: Aaron Spiteri
Дата:
Сообщение: Silly Newbie question
Следующее
От: Jorgen Austvik - Sun Norway
Дата:
Сообщение: Re: Buildfarm member gypsy_moth seems not to like alignment patch