forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit8cf63ba
committed
Repair boundary-case bug introduced by patch of two months ago that
fixed incorrect initial setting of StartUpID. The logic in XLogWrite()expects that Write->curridx is advanced to the next page as soon asLogwrtResult points to the end of the current page, but StartupXLOG()failed to make that happen when the old WAL ended exactly on a pageboundary. Per trouble report from Hannu Krosing.1 parentc15b66e commit8cf63ba
1 file changed
+23
-3
lines changedLines changed: 23 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
2487 | 2487 |
| |
2488 | 2488 |
| |
2489 | 2489 |
| |
| 2490 | + | |
2490 | 2491 |
| |
2491 | 2492 |
| |
2492 | 2493 |
| |
| |||
2697 | 2698 |
| |
2698 | 2699 |
| |
2699 | 2700 |
| |
2700 |
| - | |
2701 |
| - | |
2702 | 2701 |
| |
2703 | 2702 |
| |
2704 | 2703 |
| |
| |||
2709 | 2708 |
| |
2710 | 2709 |
| |
2711 | 2710 |
| |
| 2711 | + | |
| 2712 | + | |
| 2713 | + | |
| 2714 | + | |
| 2715 | + | |
| 2716 | + | |
| 2717 | + | |
| 2718 | + | |
| 2719 | + | |
| 2720 | + | |
| 2721 | + | |
| 2722 | + | |
| 2723 | + | |
| 2724 | + | |
| 2725 | + | |
| 2726 | + | |
| 2727 | + | |
| 2728 | + | |
| 2729 | + | |
| 2730 | + | |
| 2731 | + | |
2712 | 2732 |
| |
2713 | 2733 |
| |
2714 | 2734 |
| |
|
0 commit comments
Comments
(0)