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:16:44 +0000 (09:16 -0400)
commit618a0a63d6dc532adbcb4caa16aba44b8d153db7
tree1ba68bb1fd39728d3a70aa3405c5e86eb0b392cf
parent8468bcc8dd0f257f32b1788c7240b1dbc1d14736
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