]> granicus.if.org Git - postgresql/commit
Make the world safe for full_page_writes. Allow XLOG records that try to
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Apr 2006 20:27:24 +0000 (20:27 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 14 Apr 2006 20:27:24 +0000 (20:27 +0000)
commitdefe93463c69f8e0bb717294a34d67c34ac0b03f
tree110d957ae6e376ac6c6ceed323be70c03ea55c40
parent0fcc3c2f1d3cc71aa8affe082568b6e033ffa429
Make the world safe for full_page_writes.  Allow XLOG records that try to
update no-longer-existing pages to fall through as no-ops, but make a note
of each page number referenced by such records.  If we don't see a later
XLOG entry dropping the table or truncating away the page, complain at
the end of XLOG replay.  Since this fixes the known failure mode for
full_page_writes = off, revert my previous band-aid patch that disabled
that GUC variable.
src/backend/access/transam/xlog.c
src/backend/access/transam/xlogutils.c
src/backend/storage/smgr/smgr.c
src/include/access/xlogutils.h