git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: fea10a6) | patch
Track latest completed xid as a FullTransactionId.
2020年8月12日 00:41:18 +0000 (17:41 -0700)
2020年8月12日 00:41:18 +0000 (17:41 -0700)
commit 3bd7f9969a240827bc2effa399170b7565238fd2
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
src/backend/access/transam/varsup.c diff | blob | blame | history
src/backend/access/transam/xlog.c diff | blob | blame | history
src/backend/storage/ipc/procarray.c diff | blob | blame | history
src/include/access/transam.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /