forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit9c6ab1e
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 parent0d335cb commit9c6ab1e
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
415 | 415 |
| |
416 | 416 |
| |
417 | 417 |
| |
418 |
| - | |
| 418 | + | |
419 | 419 |
| |
420 | 420 |
| |
421 | 421 |
| |
|
0 commit comments
Comments
(0)