Log a better message when canceling autovacuum.
authorRobert Haas
Thu, 26 Jul 2012 13:18:32 +0000 (09:18 -0400)
committerRobert Haas
Thu, 26 Jul 2012 13:18:47 +0000 (09:18 -0400)
commita5bca2487244e48de1ece92d4c6a1ff330d5333c
tree9e17422a9bf8337b6a7594c7fd4b0f8a0e15718b
parentba98239dcacb276929e5447473dcaa713e643913
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