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

Lines changed: 5 additions & 0 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy