]> granicus.if.org Git - postgresql/commit
Log a better message when canceling autovacuum.
authorRobert Haas <rhaas@postgresql.org>
Thu, 26 Jul 2012 13:16:44 +0000 (09:16 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 26 Jul 2012 13:17:17 +0000 (09:17 -0400)
commitb09847e51438e5566a83d44546f8d84ce25e0bf4
tree72b8df1aa983f69fd33a04677ce75755fa7ecfa4
parent3279a76060ea7d5c02e603a9c06838c8540657ba
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.
src/backend/storage/lmgr/proc.c