forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitb5b4c0f
committed
Fix uninitialized value in segno calculation
Remove previous hack in KeepLogSeg that added a case to deal with a(badly represented) invalid segment number. This was added for the sakeof GetWALAvailability. But it's not needed if in that function weinitialize the segment number to be retreated to the currently beingwritten segment, so do that instead.Per valgrind-running buildfarm member skink, and some sparc64 animals.Discussion:https://postgr.es/m/1724648.1594230917@sss.pgh.pa.us1 parent25fe5ac commitb5b4c0f
1 file changed
+9
-6
lines changedLines changed: 9 additions & 6 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
9523 | 9523 |
| |
9524 | 9524 |
| |
9525 | 9525 |
| |
9526 |
| - | |
9527 |
| - | |
9528 | 9526 |
| |
9529 |
| - | |
9530 |
| - | |
| 9527 | + | |
| 9528 | + | |
| 9529 | + | |
9531 | 9530 |
| |
9532 |
| - | |
| 9531 | + | |
| 9532 | + | |
9533 | 9533 |
| |
9534 | 9534 |
| |
9535 | 9535 |
| |
| |||
9548 | 9548 |
| |
9549 | 9549 |
| |
9550 | 9550 |
| |
| 9551 | + | |
| 9552 | + | |
| 9553 | + | |
9551 | 9554 |
| |
9552 | 9555 |
| |
9553 | 9556 |
| |
| |||
9624 | 9627 |
| |
9625 | 9628 |
| |
9626 | 9629 |
| |
9627 |
| - | |
| 9630 | + | |
9628 | 9631 |
| |
9629 | 9632 |
| |
9630 | 9633 |
| |
|
0 commit comments
Comments
(0)