Re: vacuum vs open transactions

Поиск
Список
Период
Сортировка
Искать
От
Ed L.
Тема
Re: vacuum vs open transactions
Дата
Msg-id
200501130845.38932.pgsql@bluepolka.net
Ответ на
Список
Дерево обсуждения
vacuum vs open transactions "Ed L." <pgsql@bluepolka.net>
Re: vacuum vs open transactions Scott Marlowe <smarlowe@g2switchworks.com>
Re: vacuum vs open transactions "Ed L." <pgsql@bluepolka.net>
Re: vacuum vs open transactions Michael Fuhr <mike@fuhr.org>
Re: vacuum vs open transactions "Ed L." <pgsql@bluepolka.net>
Re: vacuum vs open transactions Michael Fuhr <mike@fuhr.org>
Re: vacuum vs open transactions "Ed L." <pgsql@bluepolka.net>
Re: vacuum vs open transactions Michael Fuhr <mike@fuhr.org>
Re: vacuum vs open transactions Martijn van Oosterhout <kleptog@svana.org>
Re: vacuum vs open transactions Michael Fuhr <mike@fuhr.org>
Re: vacuum vs open transactions "Ed L." <pgsql@bluepolka.net>
Re: vacuum vs open transactions Michael Fuhr <mike@fuhr.org>
Re: vacuum vs open transactions Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: vacuum vs open transactions "Ed L." <pgsql@bluepolka.net>
Re: vacuum vs open transactions Alvaro Herrera <alvherre@dcc.uchile.cl>
Re: vacuum vs open transactions Michael Fuhr <mike@fuhr.org>
On Thursday January 13 2005 5:50, Alvaro Herrera wrote:
> On Wed, Jan 12, 2005 at 11:30:50PM -0700, Michael Fuhr wrote:
> > On Wed, Jan 12, 2005 at 11:49:12AM -0700, Ed L. wrote:
> > > Is it possible via SQL query to tell how long a transaction has been
> > > open?
> >
> > I'm not aware of a way to find out when a transaction started, but
> > if you have stats_command_string enabled then you can query
> > pg_stat_activity to see when a session's current query started.
>
> now() returns the current transaction's start time.

That would be perfect if I could see that for transactions other than my 
own.

Ed

В списке pgsql-general по дате отправления
От: bsimon@loxane.com
Дата:
От: Ed L.
Дата:
FAQ