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 E1QbJ9Y-00029G-W5@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_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/ca7e04b0b9943d5c33d2e993ff685d45b5bddbbd

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: Simon Riggs
Date:
Subject: pgsql: Reduce impact of btree page reuse on Hot Standby by fixing off-b