Re: Vacuum cancels autovacuum error message confusing? - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Vacuum cancels autovacuum error message confusing?
Date
Msg-id 20100420225147.GF3229@alvh.no-ip.org
Whole thread Raw
In response to Re: Vacuum cancels autovacuum error message confusing?  (Josh Berkus <josh@agliodbs.com>)
Responses Re: Vacuum cancels autovacuum error message confusing?  (Josh Berkus <josh@agliodbs.com>)
List pgsql-hackers
Josh Berkus wrote:
> 
> > Isn't this just because you ran the postmaster in the same terminal as
> > pgbench?
> 
> Right, but those messages appear in the logs as well.  I'm thinking of
> the reaction of anyone reading the logs ... since they wouldn't, at that
> time, know about a manual vacuum that happened.

Eh?  I think they could examine pg_stat_user_tables to see the last
vacuum time of the table ... in fact, wouldn't one do exactly that
before reaching any conclusions about this error message?

Or are you saying that each and every VACUUM should emit a LOG message?
You know, so that the user knows that a vacuum happened, manual or
otherwise.

That said, I'm not wedded to that message wording; feel free to propose
something better.

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


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Thoughts on pg_hba.conf rejection
Next
From: Tom Lane
Date:
Subject: Should database = all in pg_hba.conf match a replication connection?