mirror of
https://github.com/postgres/postgres.git
synced 2025-11-04 20:11:56 +03:00
Replace occurrences of InvalidXid with InvalidTransactionId
While Xid is a known shortening of TransactionId, InvalidXid is not defined in the code. Fix comments which mistakenly were using the shorter version. Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com> Discussion: https://postgr.es/m/CALj2ACUQzdigML868nV4cojfELPkEzNLNOk7b91Pho4JB90fng@mail.gmail.com
This commit is contained in:
@@ -919,9 +919,9 @@ xmin_cmp(const pairingheap_node *a, const pairingheap_node *b, void *arg)
|
||||
/*
|
||||
* SnapshotResetXmin
|
||||
*
|
||||
* If there are no more snapshots, we can reset our PGPROC->xmin to InvalidXid.
|
||||
* Note we can do this without locking because we assume that storing an Xid
|
||||
* is atomic.
|
||||
* If there are no more snapshots, we can reset our PGPROC->xmin to
|
||||
* InvalidTransactionId. Note we can do this without locking because we assume
|
||||
* that storing an Xid is atomic.
|
||||
*
|
||||
* Even if there are some remaining snapshots, we may be able to advance our
|
||||
* PGPROC->xmin to some degree. This typically happens when a portal is
|
||||
|
||||
Reference in New Issue
Block a user