diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2011-06-27 22:15:07 +0100 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2011-06-27 22:15:07 +0100 |
commit | ca7e04b0b9943d5c33d2e993ff685d45b5bddbbd (patch) | |
tree | fafd73502495c21eb00af2f4b842e18547b48531 /src/backend/access/gist/gistutil.c | |
parent | 379352602ce1f247d1bed41b62baad4e1ee6d767 (diff) | |
download | postgresql-ca7e04b0b9943d5c33d2e993ff685d45b5bddbbd.tar.gz postgresql-ca7e04b0b9943d5c33d2e993ff685d45b5bddbbd.zip |
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
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions