diff --git a/src/backend/postmaster/checkpointer.c b/src/backend/postmaster/checkpointer.c index 2e36a0f2f3..e9ae1e8ca0 100644 --- a/src/backend/postmaster/checkpointer.c +++ b/src/backend/postmaster/checkpointer.c @@ -527,6 +527,11 @@ CheckpointerMain(void) 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 * this with a latch loop. Keep it simple now for clarity.