Re: statements of an unfinished transaction

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: statements of an unfinished transaction
Дата
Msg-id 20070918111252.GA9046@svana.org
обсуждение исходный текст
Ответ на statements of an unfinished transaction  ("Sabin Coanda" <sabin.coanda@deuromedia.ro>)
Список pgsql-general
On Tue, Sep 18, 2007 at 02:04:32PM +0300, Sabin Coanda wrote:
> Hi there,
>
> I'd like to find the sessions that provide unclosed transactions (i.e.
> marked as <IDLE> in transaction).
>
> Is any way to find the SQL statements that belong to such a transaction, or
> the transaction time start, or any other helpful data ?

pg_stat_activity has that, surely...

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> From each according to his ability. To each according to his ability to litigate.

Вложения

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

Предыдущее
От: "Sabin Coanda"
Дата:
Сообщение: statements of an unfinished transaction
Следующее
От: "Phoenix Kiula"
Дата:
Сообщение: Re: For index bloat: VACUUM ANALYZE vs REINDEX/CLUSTER