aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistutil.c
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2020-08-11 17:41:18 -0700
committerAndres Freund <andres@anarazel.de>2020-08-11 17:41:18 -0700
commit3bd7f9969a240827bc2effa399170b7565238fd2 (patch)
treec3a1db34b0730dfda425c98ce4ef18d71f953108 /src/backend/access/gist/gistutil.c
parentfea10a64340e529805609126740a540c8f9daab4 (diff)
downloadpostgresql-3bd7f9969a240827bc2effa399170b7565238fd2.tar.gz
postgresql-3bd7f9969a240827bc2effa399170b7565238fd2.zip
Track latest completed xid as a FullTransactionId.
The reason for doing so is that a subsequent commit will need that to avoid wraparound issues. As the subsequent change is large this was split out for easier review. The reason this is not a perfect straight-forward change is that we do not want track 64bit xids in the procarray or the WAL. Therefore we need to advance lastestCompletedXid in relation to 32 bit xids. The code for that is now centralized in MaintainLatestCompletedXid*. Author: Andres Freund Reviewed-By: Thomas Munro, Robert Haas, David Rowley Discussion: https://postgr.es/m/20200301083601.ews6hz5dduc3w2se@alap3.anarazel.de
Diffstat (limited to 'src/backend/access/gist/gistutil.c')
0 files changed, 0 insertions, 0 deletions