mirror of
https://github.com/postgres/postgres.git
synced 2025-10-21 02:52:47 +03:00
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
This commit is contained in:
@@ -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 */
|
||||
|
||||
|
Reference in New Issue
Block a user