diff options
author | Daniel Gustafsson | 2021-10-04 08:31:01 +0000 |
---|---|---|
committer | Daniel Gustafsson | 2021-10-04 08:31:01 +0000 |
commit | 941921b875c7710e2b070c02c7819f2510808fdd (patch) | |
tree | 79dacf327a890c501e334e99d3f5f05830f20d7c /src/backend/utils/time | |
parent | 8a4237908c0fe73dd41d4d7c7a6314f17dfd7a6f (diff) |
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 <[email protected]>
Discussion: https://postgr.es/m/CALj2ACUQzdigML868nV4cojfELPkEzNLNOk7b91Pho4JB90fng@mail.gmail.com
Diffstat (limited to 'src/backend/utils/time')
-rw-r--r-- | src/backend/utils/time/snapmgr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c index dca1bc8afca..5001efdf7a2 100644 --- a/src/backend/utils/time/snapmgr.c +++ b/src/backend/utils/time/snapmgr.c @@ -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 |