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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 2fc7af5) | patch
Use FullTransactionId for the transaction stack.
2019年3月27日 21:59:19 +0000 (10:59 +1300)
2019年3月28日 05:24:43 +0000 (18:24 +1300)
commit ad308058cc8666c50b43179e64d6bb7aeb3ba169
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
src/backend/access/transam/varsup.c diff | blob | blame | history
src/backend/access/transam/xact.c diff | blob | blame | history
src/include/access/transam.h diff | blob | blame | history
src/include/access/xact.h diff | blob | blame | history
src/tools/pgindent/typedefs.list diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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