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
обсуждение исходный текст
Ответы Re: Emit "checkpoint skipped because system is idle" message at LOG level if log_checkpoints is set  (Dilip Kumar <dilipbalaut@gmail.com>)
Список pgsql-hackers
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"
Дата:
Сообщение: Re: pg_stat_statements and "IN" conditions
Следующее
От: Alexander Lakhin
Дата:
Сообщение: Re: Index-only scan for btree_gist turns bpchar to char