Simon Riggs <simon@2ndquadrant.com> writes:
> Yes, I agree, but the checkpointer isn't waking up often enough
> currently to do this effectively. It's just randomly doing it.
Agreed. Maybe it should be part of the bgwriter's idle loop, and
not directly associated with checkpoints at all.
regards, tom lane