Distinguish XLOG_FPI records generated for hint-bit updates.
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Distinguish XLOG_FPI records generated for hint-bit updates. Add a new XLOG_FPI_FOR_HINT record type, and use that for full-page images generated for hint bit updates, when checksums are enabled. The new record type is replayed exactly the same as XLOG_FPI, but allows them to be tallied separately e.g. in pg_xlogdump.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/rmgrdesc/xlogdesc.c | modified | +4 −1 |
| src/backend/access/transam/xlog.c | modified | +11 −7 |
| src/backend/access/transam/xloginsert.c | modified | +1 −1 |
| src/backend/replication/logical/decode.c | modified | +1 −0 |
| src/include/catalog/pg_control.h | modified | +2 −1 |