]> granicus.if.org Git - postgresql/commit
Distinguish XLOG_FPI records generated for hint-bit updates.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 24 Nov 2014 08:43:32 +0000 (10:43 +0200)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Mon, 24 Nov 2014 09:09:08 +0000 (11:09 +0200)
commit0bd624d63b056205fda17a2d694d91db16468e3f
tree9ed541bf3c60e923ad18e7539e9b082381a48ec2
parente2dc3f57726199408902ba87eaaf7b95d1223744
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.
src/backend/access/rmgrdesc/xlogdesc.c
src/backend/access/transam/xlog.c
src/backend/access/transam/xloginsert.c
src/backend/replication/logical/decode.c
src/include/catalog/pg_control.h