summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorTom Lane2016-05-24 19:47:51 +0000
committerTom Lane2016-05-24 19:47:51 +0000
commit2d2e40e3befd8b9e0d2757554537345b15fa6ea2 (patch)
tree24fef91106701c2f55b78a9bd15b72cc0b7b9cf6 /doc/src
parent996d273978c6f21b8b66f7f3bdd979cc37736c7a (diff)
Fetch XIDs atomically during vac_truncate_clog().
Because vac_update_datfrozenxid() updates datfrozenxid and datminmxid in-place, it's unsafe to assume that successive reads of those values will give consistent results. Fetch each one just once to ensure sane behavior in the minimum calculation. Noted while reviewing Alexander Korotkov's patch in the same area. Discussion: <8564.1464116473@sss.pgh.pa.us>
Diffstat (limited to 'doc/src')
0 files changed, 0 insertions, 0 deletions