Skip to content

Commit 49d65f4

Browse files
MasaoFujiipull[bot]
authored andcommitted
Fix comment in procarray.c.
Commit fea10a6 renamed VariableCacheData.nextFullXid to nextXid. But commit dc7420c introduced the comment mentioning nextFullXid. This commit changes"nextFullXid" to "nextXid" in the comment. Author: Zhang Mingli Discussion: https://postgr.es/m/642BA615-4B28-4B0C-BDF6-4D33E366BCDF@gmail.com
1 parent 46ff7bf commit 49d65f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/storage/ipc/procarray.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4212,8 +4212,8 @@ GlobalVisTestIsRemovableXid(GlobalVisState *state, TransactionId xid)
42124212
/*
42134213
* Convert 32 bit argument to FullTransactionId. We can do so safely
42144214
* because we know the xid has to, at the very least, be between
4215-
* [oldestXid, nextFullXid), i.e. within 2 billion of xid. To avoid taking
4216-
* a lock to determine either, we can just compare with
4215+
* [oldestXid, nextXid), i.e. within 2 billion of xid. To avoid taking a
4216+
* lock to determine either, we can just compare with
42174217
* state->definitely_needed, which was based on those value at the time
42184218
* the current snapshot was built.
42194219
*/

0 commit comments

Comments
 (0)