Re: Autovacuum vacuums not setting start time in pg_stat_activity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Jim Nasby" <jim(dot)nasby(at)enterprisedb(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Autovacuum vacuums not setting start time in pg_stat_activity
Date: 2007-06-12 21:14:49
Message-ID: 26968.1181682889@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Jim Nasby" <jim(dot)nasby(at)enterprisedb(dot)com> writes:
> This is on a 8.2.3 database; vacuums started by autovacuum don't get
> their query_start time set.

Hmm. Query_start is actually defined as "time of last client command
receipt", so it's null just like client_addr/port are. Not sure if
there's anything we should put there that's more meaningful than the
backend start time.

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Alvaro Herrera 2007-06-12 21:46:22 Re: Autovacuum vacuums not setting start time in pg_stat_activity
Previous Message Jim Nasby 2007-06-12 20:48:04 Autovacuum vacuums not setting start time in pg_stat_activity