Fix problems with loss of tuple commit status bits during WAL redo of
Tom Lane <tgl@sss.pgh.pa.us>
Fix problems with loss of tuple commit status bits during WAL redo of VACUUM FULL tuple moves. Store full-width t_infomask in WAL, rather than storing low 8 bits and expecting to be able to reconstruct upper bits. While at it, remove redundant t_oid field from WAL headers (the OID, if present, is now recorded in the data portion of the tuple). WAL version number bumped --- this does not force an initdb, you can instead run pg_resetxlog after a clean shutdown of the old postmaster.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/heap/heapam.c | modified | +24 −22 |
| src/include/access/htup.h | modified | +15 −4 |
| src/include/access/xlog.h | modified | +2 −2 |