diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-11-24 10:43:32 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2014-11-24 11:09:08 +0200 |
commit | 0bd624d63b056205fda17a2d694d91db16468e3f (patch) | |
tree | 9ed541bf3c60e923ad18e7539e9b082381a48ec2 /src/backend/replication/logical/decode.c | |
parent | e2dc3f57726199408902ba87eaaf7b95d1223744 (diff) | |
download | postgresql-0bd624d63b056205fda17a2d694d91db16468e3f.tar.gz postgresql-0bd624d63b056205fda17a2d694d91db16468e3f.zip |
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.
Diffstat (limited to 'src/backend/replication/logical/decode.c')
-rw-r--r-- | src/backend/replication/logical/decode.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/backend/replication/logical/decode.c b/src/backend/replication/logical/decode.c index 1c7dac38fc9..4e81322509f 100644 --- a/src/backend/replication/logical/decode.c +++ b/src/backend/replication/logical/decode.c @@ -170,6 +170,7 @@ DecodeXLogOp(LogicalDecodingContext *ctx, XLogRecordBuffer *buf) case XLOG_PARAMETER_CHANGE: case XLOG_RESTORE_POINT: case XLOG_FPW_CHANGE: + case XLOG_FPI_FOR_HINT: case XLOG_FPI: break; default: |