[HACKERS] Logging idle checkpoints - Mailing list pgsql-hackers

From Vik Fearing
Subject [HACKERS] Logging idle checkpoints
Date
Msg-id ad34fa48-51ee-3e3c-e8eb-6e5bab372c77@2ndquadrant.com
Whole thread Raw
Responses Re: [HACKERS] Logging idle checkpoints
Re: [HACKERS] Logging idle checkpoints
List pgsql-hackers
I recently had a sad because I noticed that checkpoint counts were
increasing in pg_stat_bgwriter, but weren't accounted for in my logs
with log_checkpoints enabled.

After some searching, I found that it was the idle checkpoints that
weren't being logged.  I think this is a missed trick in 6ef2eba3f57.

Attached is a one-liner fix.  I realize how imminent we are from
releasing v10 but I hope there is still time for such a minor issue as this.
-- 
Vik Fearing                                          +33 6 46 75 15 36
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Attachment

pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: [HACKERS] ANALYZE command progress checker
Next
From: Daniel Gustafsson
Date:
Subject: Re: [HACKERS] Statement-level rollback