]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Repair boundary-case bug introduced by patch of two months ago that
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Jul 2003 16:45:25 +0000 (16:45 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 17 Jul 2003 16:45:25 +0000 (16:45 +0000)
commit0a49e774b1ba172b9d2387152bb843ea7fb3c622
tree0a4ffb48e9f98b3f6fc4e3f8270e374bc8c4577c
parent537c1c1983ad82dfbc101dac5184b7257a3f998c
Repair boundary-case bug introduced by patch of two months ago that
fixed incorrect initial setting of StartUpID.  The logic in XLogWrite()
expects that Write->curridx is advanced to the next page as soon as
LogwrtResult points to the end of the current page, but StartupXLOG()
failed to make that happen when the old WAL ended exactly on a page
boundary.  Per trouble report from Hannu Krosing.
src/backend/access/transam/xlog.c