Re: should we enable log_checkpoints out of the box? - Mailing list pgsql-hackers

From Vik Fearing
Subject Re: should we enable log_checkpoints out of the box?
Date
Msg-id 5c03f610-fe95-fe94-5dfa-3d107b18b6e9@postgresfriends.org
Whole thread Raw
In response to Re: should we enable log_checkpoints out of the box?  (Michael Banck <michael.banck@credativ.de>)
List pgsql-hackers
On 10/31/21 10:24 PM, Michael Banck wrote:
> To put another option on the table: maybe a compromise could be to log
> xlog checkpoints unconditionally, and the (checkpoint_timeout) time ones
> only if log_checkpoints are set (maybe with some exponential backoff to
> avoid log spam)?

If we're going to do something like that, we should convert it from a
boolean to an enum.

    log_checkpoints = wal

(I'm being very careful not to slip on that slope.)
-- 
Vik Fearing



pgsql-hackers by date:

Previous
From: "Bossart, Nathan"
Date:
Subject: Re: Predefined role pg_maintenance for VACUUM, ANALYZE, CHECKPOINT.
Next
From: Peter Geoghegan
Date:
Subject: Re: should we enable log_checkpoints out of the box?