- Notifications
You must be signed in to change notification settings - Fork4.9k
Commit6830cae
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 parentbec4d0f commit6830cae
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 |
| |
| |||
253 | 254 |
| |
254 | 255 |
| |
255 | 256 |
| |
| 257 | + | |
| 258 | + | |
| 259 | + | |
256 | 260 |
| |
257 | 261 |
| |
258 | 262 |
| |
|
0 commit comments
Comments
(0)