From: | Michael Fuhr <mike(at)fuhr(dot)org> |
---|---|
To: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
Cc: | "Ed L(dot)" <pgsql(at)bluepolka(dot)net>, Scott Marlowe <smarlowe(at)g2switchworks(dot)com>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: vacuum vs open transactions |
Date: | 2005-01-13 17:02:16 |
Message-ID: | 20050113170215.GB80786@winnie.fuhr.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Thu, Jan 13, 2005 at 09:50:38AM -0300, Alvaro Herrera wrote:
> On Wed, Jan 12, 2005 at 11:30:50PM -0700, Michael Fuhr wrote:
> >
> > 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.
I meant when any transaction started, particularly a transaction
other than the current one.
--
Michael Fuhr
http://www.fuhr.org/~mfuhr/
From | Date | Subject | |
---|---|---|---|
Next Message | Doug McNaught | 2005-01-13 17:02:37 | Re: Adding UNIQUE constraint on NULL column |
Previous Message | bsimon | 2005-01-13 16:57:33 | Réf. : Re: Réf. : Re: Réf. : [ GENERAL] Debugging SPI C functions |