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

Поиск
Список
Период
Сортировка
От Dilip Kumar
Тема Re: Emit "checkpoint skipped because system is idle" message at LOG level if log_checkpoints is set
Дата
Msg-id CAFiTN-u6ZYke5StW9G1+gVS5S3fNwC13RC3=dHpLuuY2+qRGMA@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>)
Список pgsql-hackers
On Wed, Jan 5, 2022 at 10:24 AM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
>
> 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?

+1 to convert to LOG when log_checkpoints is set.

-- 
Regards,
Dilip Kumar
EnterpriseDB: http://www.enterprisedb.com



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_stat_statements and "IN" conditions
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: row filtering for logical replication