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

From Robert Haas
Subject Re: should we enable log_checkpoints out of the box?
Date
Msg-id CA+TgmoZOD9VUn57vMNxcjqcxEwgyyLCUwRs=-rTgqh7iM5rXzw@mail.gmail.com
Whole thread Raw
In response to Re: should we enable log_checkpoints out of the box?  (Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>)
Responses Re: should we enable log_checkpoints out of the box?
List pgsql-hackers
On Thu, Nov 4, 2021 at 10:59 AM Bharath Rupireddy
<bharath.rupireddyforpostgres@gmail.com> wrote:
> With log_checkpoints=on, the "./initdb -D data" generates few
> checkpoints logs [1]. I hope this is okay as it's a one-time thing per
> database cluster. Thoughts?

I think you should arrange to suppress that output. There's no reason
why initdb can't pass -c log_checkpoints=off. See backend_options in
initdb.c.

I didn't spot any other problems on a quick read-through.

-- 
Robert Haas
EDB: http://www.enterprisedb.com



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: Automatic notification of top transaction IDs
Next
From: vignesh C
Date:
Subject: Re: Skipping logical replication transactions on subscriber side