pgsql: Distinguish XLOG_FPI records generated for hint-bit updates.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Distinguish XLOG_FPI records generated for hint-bit updates.
Date: 2014-11-24 09:12:27
Message-ID: E1Xsph5-0001Gz-Pi@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0bd624d63b056205fda17a2d694d91db16468e3f

Modified Files
--------------
src/backend/access/rmgrdesc/xlogdesc.c | 5 ++++-
src/backend/access/transam/xlog.c | 18 +++++++++++-------
src/backend/access/transam/xloginsert.c | 2 +-
src/backend/replication/logical/decode.c | 1 +
src/include/catalog/pg_control.h | 3 ++-
5 files changed, 19 insertions(+), 10 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Heikki Linnakangas 2014-11-24 11:45:21 pgsql: Add a few paragraphs to B-tree README explaining L&Y algorithm.
Previous Message Tom Lane 2014-11-23 20:31:51 pgsql: Get rid of redundant production in plpgsql grammar.