Re: Transaction start in pg_stat_activity

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Transaction start in pg_stat_activity
Дата
Msg-id 1164016947.3841.6.camel@silverbirch.site
обсуждение исходный текст
Ответ на Transaction start in pg_stat_activity  (Neil Conway <neilc@samurai.com>)
Ответы Re: Transaction start in pg_stat_activity
Список pgsql-patches
On Sat, 2006-11-18 at 21:44 -0500, Neil Conway wrote:

> Attached is a first revision of a patch that adds a column to
> pg_stat_activity containing the time at which the backend's current
> transaction began, or NULL if the backend is not inside a transaction.
> This is useful for finding long-running transactions, and AFAIK this
> information is not otherwise easily available from outside the backend's
> session.
>
> Naturally, this is for 8.3.

Great idea. Would it be appropriate to show the time the current
snapshot was taken also/instead?

--
  Simon Riggs
  EnterpriseDB   http://www.enterprisedb.com



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

Предыдущее
От: Neil Conway
Дата:
Сообщение: Re: add external pl language section, clean up some links
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Transaction start in pg_stat_activity