Skip site navigation (1) Skip section navigation (2)

pgsql: Log a better message when canceling autovacuum.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Log a better message when canceling autovacuum.
Date: 2012-07-26 13:28:15
Message-ID: E1SuO6x-0008IY-8L@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log a better message when canceling autovacuum.

The old message was at DEBUG2, so typically it didn't show up in the
log at all.  As a result, in most cases where autovacuum was canceled,
the only information that was logged was the table being vacuumed,
with no indication as to what problem caused the cancel.  Crank up
the level to LOG and add some more details to assist with debugging.

Back-patch all the way, per discussion on pgsql-hackers.

Branch
------
REL8_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b09847e51438e5566a83d44546f8d84ce25e0bf4

Modified Files
--------------
src/backend/storage/lmgr/proc.c |   25 +++++++++++++++++++++----
1 files changed, 21 insertions(+), 4 deletions(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2012-07-26 14:17:32
Subject: pgsql: Tab complete table names after ALTER TABLE x [NO] INHERIT.
Previous:From: Bruce MomjianDate: 2012-07-26 10:22:25
Subject: pgsql: Simplify pg_upgrade's handling when returning directorylistings

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group