- Notifications
You must be signed in to change notification settings - Fork5
Commit481725c
committed
Correct StartupSUBTRANS for page wraparound
StartupSUBTRANS() incorrectly handled cases near the max pageid in the subtransdata structure, which in some cases could lead to errors in startup for HotStandby.This patch wraps the pageids correctly, avoiding any such errors.Identified by exhaustive crash testing by Jeff Janes.Jeff Janes1 parenta914a04 commit481725c
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
44 | 44 |
| |
45 | 45 |
| |
46 | 46 |
| |
47 |
| - | |
| 47 | + | |
| 48 | + | |
48 | 49 |
| |
49 | 50 |
| |
50 | 51 |
| |
| |||
254 | 255 |
| |
255 | 256 |
| |
256 | 257 |
| |
| 258 | + | |
| 259 | + | |
| 260 | + | |
257 | 261 |
| |
258 | 262 |
| |
259 | 263 |
| |
|
0 commit comments
Comments
(0)