Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd396606

Browse files
committed
Fix comment in procarray.c.
Commitfea10a6 renamed VariableCacheData.nextFullXid to nextXid.But commitdc7420c introduced the comment mentioning nextFullXid.This commit changes"nextFullXid" to "nextXid" in the comment.Author: Zhang MingliDiscussion:https://postgr.es/m/642BA615-4B28-4B0C-BDF6-4D33E366BCDF@gmail.com
1 parent4fc6b6e commitd396606

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-
*alock 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)

[8]ページ先頭

©2009-2025 Movatter.jp