aboutsummaryrefslogtreecommitdiff
path: root/src/include/libpq/be-gssapi-common.h
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2021-11-26 11:14:27 -0300
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2021-11-26 11:14:27 -0300
commitd24dac9549067716f5b4d8e44ccf87dd5274bfcd (patch)
treefbf43883d373d4f38fc0406b1c037e9ef9b07e8e /src/include/libpq/be-gssapi-common.h
parent371087d006e04991080bf17cf2287db38d3ea92e (diff)
downloadpostgresql-d24dac9549067716f5b4d8e44ccf87dd5274bfcd.tar.gz
postgresql-d24dac9549067716f5b4d8e44ccf87dd5274bfcd.zip
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 'src/include/libpq/be-gssapi-common.h')
0 files changed, 0 insertions, 0 deletions