pgsql: Log a better message when canceling autovacuum.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Log a better message when canceling autovacuum.
Дата
Msg-id E1SuO6x-0008IS-5D@gemulon.postgresql.org
обсуждение исходный текст
Список 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_2_STABLE

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

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: pgsql: Simplify pg_upgrade's handling when returning directory listings
Следующее
От: Robert Haas
Дата:
Сообщение: pgsql: Log a better message when canceling autovacuum.