Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3ba1820

Browse files
Have checkpointer send stats once each processing loop.
Noted by Fujii Masao
1 parent 09d1174 commit 3ba1820

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/backend/postmaster/checkpointer.c

+5
Original file line numberDiff line numberDiff line change
@@ -527,6 +527,11 @@ CheckpointerMain(void)
527527
ckpt_active = false;
528528
}
529529

530+
/*
531+
* Send off activity statistics to the stats collector
532+
*/
533+
pgstat_send_bgwriter();
534+
530535
/*
531536
* Nap for a while and then loop again. Later patches will replace
532537
* this with a latch loop. Keep it simple now for clarity.

0 commit comments

Comments
 (0)