Re: [PATCH] Expose checkpoint reason to completion log messages. - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: [PATCH] Expose checkpoint reason to completion log messages.
Date
Msg-id CAHGQGwFzR=1EwefWGVNF5GaOMsNkWZZ9oJMXiwO3x8AhjUTqsQ@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Expose checkpoint reason to completion log messages.  (Soumya S Murali <soumyamurali.work@gmail.com>)
Responses Re: [PATCH] Expose checkpoint reason to completion log messages.
List pgsql-hackers
On Thu, Jan 1, 2026 at 5:09 PM Soumya S Murali
<soumyamurali.work@gmail.com> wrote:
>
> Hi all,
>
> On Thu, Dec 18, 2025 at 5:49 AM Andres Freund <andres@anarazel.de> wrote:
> >
> > Hi,
> >
> > On 2025-12-01 16:48:56 +0530, Soumya S Murali wrote:
> > > This patch is an update after reworking the “checkpoint reason” changes as
> > > a standalone patch, separate from the pg_stat_checkpointer additions as
> > > suggested [1].

This kind of information already seems to be included in the
checkpoint starting log message, for example:

    LOG:  checkpoint starting: fast force wait

Why do you want to include essentially the same information in the
checkpoint ending log message as well?

Regards,

--
Fujii Masao



pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [PROPOSAL] Termination of Background Workers for ALTER/DROP DATABASE
Next
From: Thomas Munro
Date:
Subject: Re: Implement waiting for wal lsn replay: reloaded