Commit 85656bc
committed
In XLogFileInit(), fix *use_existent postcondition to suit callers.
Infrequently, the mismatch caused log_checkpoints messages and
TRACE_POSTGRESQL_CHECKPOINT_DONE() to witness an "added" count too high
by one. Since that consequence is so minor, no back-patch.
Discussion: https://postgr.es/m/20210202151416.GB3304930@rfd.leadboat.com1 parent c53c6b9 commit 85656bc
1 file changed
+6
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3261 | 3261 | | |
3262 | 3262 | | |
3263 | 3263 | | |
3264 | | - | |
3265 | | - | |
| 3264 | + | |
| 3265 | + | |
3266 | 3266 | | |
3267 | 3267 | | |
3268 | 3268 | | |
| |||
3431 | 3431 | | |
3432 | 3432 | | |
3433 | 3433 | | |
3434 | | - | |
3435 | | - | |
| 3434 | + | |
| 3435 | + | |
| 3436 | + | |
| 3437 | + | |
3436 | 3438 | | |
3437 | 3439 | | |
3438 | 3440 | | |
| |||
3442 | 3444 | | |
3443 | 3445 | | |
3444 | 3446 | | |
3445 | | - | |
3446 | | - | |
3447 | | - | |
3448 | 3447 | | |
3449 | 3448 | | |
3450 | 3449 | | |
| |||
0 commit comments