Emit "checkpoint skipped because system is idle" message at LOG level if log_checkpoints is set

Поиск
Список
Период
Сортировка
Искать
От
Bharath Rupireddy
Тема
Emit "checkpoint skipped because system is idle" message at LOG level if log_checkpoints is set
Дата
Msg-id
CALj2ACX9LPadCNACDZ3JykDT-6sfPrPchXTLyNHP3cbwyJYjsg@mail.gmail.com
Список
Дерево обсуждения
Emit "checkpoint skipped because system is idle" message at LOG level if log_checkpoints is set Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>
Re: Emit "checkpoint skipped because system is idle" message at LOG level if log_checkpoints is set Dilip Kumar <dilipbalaut@gmail.com>
Hi,

Postgres server emits a message at DEBUG1 level when it skips a
checkpoint. At times, developers might be surprised after figuring out
from server logs that there were no checkpoints happening at all
during a certain period of time when DEBUG1 messages aren't captured.
How about emitting the message at LOG level if log_checkpoints is set?
Patch attached.

Thoughts?

Regards,
Bharath Rupireddy.
В списке pgsql-hackers по дате отправления
От: Andrey V. Lepikhov
Дата:
От: Alexander Lakhin
Дата:
FAQ