Error pointed out by Fujii Masao, though not his patch.
There will always be at least one WAL segment file, and will normally
- not be more than (2 + checkpoint_completion_target) * checkpoint_segments + 1
- or checkpoint_segments> + + 1
- files. Each segment file is normally 16 MB (though this size can be
+ not be more files than the higher of or
+ (2 + checkpoint_completion_target) * checkpoint_segments + 1.
+ Each segment file is normally 16 MB (though this size can be
altered when building the server). You can use this to estimate space
Ordinarily, when old log segment files are no longer needed, they