Make the world safe for full_page_writes. Allow XLOG records that try to
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/transam/xlog.c | modified | +9 −2 |
| src/backend/access/transam/xlogutils.c | modified | +209 −18 |
| src/backend/storage/smgr/smgr.c | modified | +5 −1 |
| src/include/access/xlogutils.h | modified | +3 −1 |