mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +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:
@ -165,8 +165,8 @@ pg_control_checkpoint(PG_FUNCTION_ARGS)
|
||||
nulls[5] = false;
|
||||
|
||||
values[6] = CStringGetTextDatum(psprintf("%u:%u",
|
||||
EpochFromFullTransactionId(ControlFile->checkPointCopy.nextFullXid),
|
||||
XidFromFullTransactionId(ControlFile->checkPointCopy.nextFullXid)));
|
||||
EpochFromFullTransactionId(ControlFile->checkPointCopy.nextXid),
|
||||
XidFromFullTransactionId(ControlFile->checkPointCopy.nextXid)));
|
||||
nulls[6] = false;
|
||||
|
||||
values[7] = ObjectIdGetDatum(ControlFile->checkPointCopy.nextOid);
|
||||
|
Reference in New Issue
Block a user