Skip to content
Snippets Groups Projects
Commit 3ba18205 authored by Simon Riggs's avatar Simon Riggs
Browse files

Have checkpointer send stats once each processing loop.

Noted by Fujii Masao
parent 09d1174e
No related branches found
No related tags found
No related merge requests found
...@@ -527,6 +527,11 @@ CheckpointerMain(void) ...@@ -527,6 +527,11 @@ CheckpointerMain(void)
ckpt_active = false; ckpt_active = false;
} }
/*
* Send off activity statistics to the stats collector
*/
pgstat_send_bgwriter();
/* /*
* Nap for a while and then loop again. Later patches will replace * Nap for a while and then loop again. Later patches will replace
* this with a latch loop. Keep it simple now for clarity. * this with a latch loop. Keep it simple now for clarity.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment