From ad308058cc8666c50b43179e64d6bb7aeb3ba169 Mon Sep 17 00:00:00 2001 From: Thomas Munro Date: Thu, 28 Mar 2019 10:59:19 +1300 Subject: 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/tools/pgindent/typedefs.list | 1 + 1 file changed, 1 insertion(+) (limited to 'src/tools/pgindent') diff --git a/src/tools/pgindent/typedefs.list b/src/tools/pgindent/typedefs.list index ab617a6ae61..4816b5b271d 100644 --- a/src/tools/pgindent/typedefs.list +++ b/src/tools/pgindent/typedefs.list @@ -2107,6 +2107,7 @@ SeqTableData SerCommitSeqNo SerializedReindexState SerializedSnapshotData +SerializedTransactionState Session SessionBackupState SetConstraintState -- cgit v1.2.3