pgsql: Log a better message when canceling autovacuum. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Log a better message when canceling autovacuum.
Date
Msg-id E1SuO6x-0008IW-6W@gemulon.postgresql.org
Whole thread Raw
List 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
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/63791569d8d7c01257e8f85fdbb918d144e54cc6

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


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Log a better message when canceling autovacuum.
Next
From: Robert Haas
Date:
Subject: pgsql: Tab complete table names after ALTER TABLE x [NO] INHERIT.