aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistget.c
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2011-06-27 22:12:09 +0100
committerSimon Riggs <simon@2ndQuadrant.com>2011-06-27 22:12:09 +0100
commite1cd66f74862936d84acf3008118d6094c56ad58 (patch)
treef92d9eddd7f98002670ec1f818c30bad9bf374f9 /src/backend/access/gist/gistget.c
parent9abbed0629c862710bdc0f0dd3565e069ecab9da (diff)
downloadpostgresql-e1cd66f74862936d84acf3008118d6094c56ad58.tar.gz
postgresql-e1cd66f74862936d84acf3008118d6094c56ad58.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/gistget.c')
0 files changed, 0 insertions, 0 deletions