Re: Distinguishing autovacuum activity in pg_stat_activity

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: Guillaume Smet <guillaume(dot)smet(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Distinguishing autovacuum activity in pg_stat_activity
Date: 2008-01-14 00:31:05
Message-ID: 20080114003105.GB17558@alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Guillaume Smet escribió:
> On Jan 13, 2008 10:59 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > I think this would be a helpful change, but some might find it
> > confusing. Thoughts?
>
> If possible, something like:
> autovacuum: VACUUM ANALYZE foo.bar
> could be less confusing.
> It's weird to just add AUTO in front of the query.

Whether the string is "AUTO " or "autovacuum: " seems rather the same
thing to me :-) I agree with the general idea. I think "autovacuum: "
makes it clearer that it's not part of the actual command syntax, so
maybe I'll put half a vote for that option.

--
Alvaro Herrera http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2008-01-14 00:31:08 Re: Index trouble with 8.3b4
Previous Message Andrew Dunstan 2008-01-14 00:30:44 Re: Postgresql Materialized views