pgsql: Reduce impact of btree page reuse on Hot Standby by fixing off-b - Mailing list pgsql-committers

From Simon Riggs
Subject pgsql: Reduce impact of btree page reuse on Hot Standby by fixing off-b
Date
Msg-id E1QbJA4-00029x-KR@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Reduce impact of btree page reuse on Hot Standby by fixing off-by-1 error.
WAL records of type XLOG_BTREE_REUSE_PAGE were generated using a
latestRemovedXid one higher than actually needed because xid used was
page opaque->btpo.xact rather than an actually removed xid.
Noticed on an otherwise quiet system by Noah Misch.

Noah Misch and Simon Riggs

Branch
------
REL9_0_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/5cd81b8df0a9f3e4cb407e815b9a789138fd0356

Modified Files
--------------
src/backend/access/nbtree/nbtpage.c |   12 +++++++++++-
1 files changed, 11 insertions(+), 1 deletions(-)


pgsql-committers by date:

Previous
From: Simon Riggs
Date:
Subject: pgsql: Reduce impact of btree page reuse on Hot Standby by fixing off-b
Next
From: Robert Haas
Date:
Subject: pgsql: Add a missing_ok argument to get_object_address().