summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAlvaro Herrera2021-11-26 14:14:27 +0000
committerAlvaro Herrera2021-11-26 14:14:27 +0000
commit2c3fddcbbd8aa542beec8e3abf3369168517174e (patch)
treec6921cfad304e0ca0200a9180bd445b2d146956c /doc/src
parenta83b1bab0bdb341f952fc982899be70284c11bdc (diff)
Fix determination of broken LSN in OVERWRITTEN_CONTRECORD
In commit ff9f111bce24 I mixed up inconsistent definitions of the LSN of the first record in a page, when the previous record ends exactly at the page 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 let replay continue past that record. Backpatch to 10. 9.6 also contains this bug, but it's no longer being maintained. Discussion: https://postgr.es/m/45597.1637694259@sss.pgh.pa.us
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions