Re: BUG #10123: Weird entries in pg_stat_activity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: BUG #10123: Weird entries in pg_stat_activity
Дата
Msg-id 15615.1398364718@sss.pgh.pa.us
обсуждение исходный текст
Ответ на BUG #10123: Weird entries in pg_stat_activity  (maxim.boguk@gmail.com)
Ответы Re: BUG #10123: Weird entries in pg_stat_activity  (Maxim Boguk <maxim.boguk@gmail.com>)
Список pgsql-bugs
maxim.boguk@gmail.com writes:
> During debug of the weird nagios database alerts about long transactions I
> found that sometime pg_stat_activity contains very weird entries with
> xact_start NOT NULL and state='idle'...
> ...
> What's more: i tested that problem on another databases - and found they
> have same effect (so it doesn't look like a problem local to that single
> exact database).

So can you provide a self-contained test case for this?  I tried to
reproduce it here without much success, and I don't see a code path
other than PREPARE TRANSACTION that could lead to this.

            regards, tom lane

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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: BUG #10123: Weird entries in pg_stat_activity
Следующее
От: Maxim Boguk
Дата:
Сообщение: Re: BUG #10123: Weird entries in pg_stat_activity