aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor
diff options
context:
space:
mode:
authorThomas Munro <tmunro@postgresql.org>2019-03-28 10:59:19 +1300
committerThomas Munro <tmunro@postgresql.org>2019-03-28 18:24:43 +1300
commitad308058cc8666c50b43179e64d6bb7aeb3ba169 (patch)
treebf8c6e0f7d056eba1fa182e26c53dda7e0e72377 /src/backend/executor
parent2fc7af5e966043a412e8e69c135fae55a2db6d4f (diff)
downloadpostgresql-ad308058cc8666c50b43179e64d6bb7aeb3ba169.tar.gz
postgresql-ad308058cc8666c50b43179e64d6bb7aeb3ba169.zip
Use FullTransactionId for the transaction stack.
Provide GetTopFullTransactionId() and GetCurrentFullTransactionId(). The intended users of these interfaces are access methods that use xids for visibility checks but don't want to have to go back and "freeze" existing references some time later before the 32 bit xid counter wraps around. Use a new struct to serialize the transaction state for parallel query, because FullTransactionId doesn't fit into the previous serialization scheme very well. Author: Thomas Munro Reviewed-by: Heikki Linnakangas Discussion: https://postgr.es/m/CAA4eK1%2BMv%2Bmb0HFfWM9Srtc6MVe160WFurXV68iAFMcagRZ0dQ%40mail.gmail.com
Diffstat (limited to 'src/backend/executor')
0 files changed, 0 insertions, 0 deletions