Re: Deadlock with pg_dump?

Поиск
Список
Период
Сортировка
От Chris Campbell
Тема Re: Deadlock with pg_dump?
Дата
Msg-id 7B2C5768-D380-4EFC-98D9-D8B53B6CB1D0@bignerdranch.com
обсуждение исходный текст
Ответ на Re: Deadlock with pg_dump?  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Oct 26, 2006, at 18:45, Tom Lane wrote:

> log_min_error_statement = error would at least get you the statements
> reporting the deadlocks, though not what they're conflicting against.

Would it be possible (in 8.3, say) to log the conflicting backend's  
current statement (from pg_stat_activity, perhaps)? I guess the  
conflicting backend would currently be waiting for a lock, so its  
current query (before releasing the lock) is the one we want.

Thanks!

- Chris



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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: Deadlock with pg_dump?
Следующее
От: "Gurjeet Singh"
Дата:
Сообщение: bug in on_error_rollback !?