forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit44bd3ed
committed
Fix determination of broken LSN in OVERWRITTEN_CONTRECORD
In commitff9f111 I mixed up inconsistent definitions of the LSN ofthe first record in a page, when the previous record ends exactly at thepage boundary. The correct LSN is adjusted to skip the WAL page header;I failed to use that when setting XLogReaderState->overwrittenRecPtr,so at WAL replay time VerifyOverwriteContrecord would refuse to letreplay continue past that record.Backpatch to 10. 9.6 also contains this bug, but it's no longer beingmaintained.Discussion:https://postgr.es/m/45597.1637694259@sss.pgh.pa.us1 parent4597fd7 commit44bd3ed
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
467 | 467 |
| |
468 | 468 |
| |
469 | 469 |
| |
470 |
| - | |
| 470 | + | |
471 | 471 |
| |
472 | 472 |
| |
473 | 473 |
| |
|
0 commit comments
Comments
(0)