pgsql: Rename VariableCacheData.nextFullXid to nextXid.

2020-08-11 Thread Andres Freund
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/

pgsql: Track latest completed xid as a FullTransactionId.

2020-08-11 Thread Andres Freund
Track latest completed xid as a FullTransactionId. The reason for doing so is that a subsequent commit will need that to avoid wraparound issues. As the subsequent change is large this was split out for easier review. The reason this is not a perfect straight-forward change is that we do not want