summaryrefslogtreecommitdiff
path: root/src/include/access/transam.h
diff options
context:
space:
mode:
authorAndres Freund <andres@anarazel.de>2020-08-11 11:25:23 -0700
committerAndres Freund <andres@anarazel.de>2020-08-11 12:07:14 -0700
commitfea10a64340e529805609126740a540c8f9daab4 (patch)
treed1e87d36b7e115441c55f195cfe22de010201cbd /src/include/access/transam.h
parent1f75b454134cce6a67a9bcdb01b5c018221dd359 (diff)
Rename VariableCacheData.nextFullXid to nextXid.
Including Full in variable names duplicates the type information and leads to overly long names. As FullTransactionId cannot accidentally be casted to TransactionId that does not seem necessary. Author: Andres Freund Discussion: https://postgr.es/m/20200724011143.jccsyvsvymuiqfxu@alap3.anarazel.de
Diffstat (limited to 'src/include/access/transam.h')
-rw-r--r--src/include/access/transam.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/access/transam.h b/src/include/access/transam.h
index a91a0c7487d..85508300e9a 100644
--- a/src/include/access/transam.h
+++ b/src/include/access/transam.h
@@ -175,12 +175,12 @@ typedef struct VariableCacheData
/*
* These fields are protected by XidGenLock.
*/
- FullTransactionId nextFullXid; /* next full XID to assign */
+ FullTransactionId nextXid; /* next XID to assign */
TransactionId oldestXid; /* cluster-wide minimum datfrozenxid */
TransactionId xidVacLimit; /* start forcing autovacuums here */
TransactionId xidWarnLimit; /* start complaining here */
- TransactionId xidStopLimit; /* refuse to advance nextFullXid beyond here */
+ TransactionId xidStopLimit; /* refuse to advance nextXid beyond here */
TransactionId xidWrapLimit; /* where the world ends */
Oid oldestXidDB; /* database with minimum datfrozenxid */