mirror of
https://github.com/postgres/postgres.git
synced 2025-05-01 01:04:50 +03:00
Have checkpointer send stats once each processing loop.
Noted by Fujii Masao
This commit is contained in:
parent
09d1174e5a
commit
3ba182056f
@ -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.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user