summaryrefslogtreecommitdiff
path: root/src/backend/utils/time/snapmgr.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2022-11-15 09:37:19 +0530
committerAmit Kapila <akapila@postgresql.org>2022-11-15 09:37:19 +0530
commit8b5262fa0efdd515a05e533c2a1198e7b666f7d8 (patch)
tree77b3852939a64f48b3a65552b29d4abd068f566a /src/backend/utils/time/snapmgr.c
parente848be60b5cf9a883765ea8e98c411e7fef0c1c6 (diff)
Improve comments referring snapshot's subxip array.
It was referred to as subxact array in a few places and subxip array in others. By changing it to subxip array, we make it consistent with similar references to xip array. Author: Japin Li Reviewd by: Julien Rouhaud, Richard Guo Discussion: https://postgr.es/m/MEYP282MB1669DCE7AC193A947CED2A95B6009@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
Diffstat (limited to 'src/backend/utils/time/snapmgr.c')
-rw-r--r--src/backend/utils/time/snapmgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c
index f1f2ddac17c..2524b1c585f 100644
--- a/src/backend/utils/time/snapmgr.c
+++ b/src/backend/utils/time/snapmgr.c
@@ -2345,7 +2345,7 @@ XidInMVCCSnapshot(TransactionId xid, Snapshot snapshot)
else
{
/*
- * In recovery we store all xids in the subxact array because it is by
+ * In recovery we store all xids in the subxip array because it is by
* far the bigger array, and we mostly don't know which xids are
* top-level and which are subxacts. The xip array is empty.
*