diff options
author | Fujii Masao <fujii@postgresql.org> | 2022-07-28 14:56:20 +0900 |
---|---|---|
committer | Fujii Masao <fujii@postgresql.org> | 2022-07-28 14:56:20 +0900 |
commit | d396606ebe9722baceabb156551169d83c85b8c8 (patch) | |
tree | bbd55a917c913ce466a2e6ba7962d0185de2cb69 | |
parent | 4fc6b6eefcf98f79211bb790ee890ebcb05c178d (diff) | |
download | postgresql-d396606ebe9722baceabb156551169d83c85b8c8.tar.gz |
Fix comment in procarray.c.
Commit fea10a6434 renamed VariableCacheData.nextFullXid to nextXid.
But commit dc7420c2c9 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
-rw-r--r-- | src/backend/storage/ipc/procarray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/ipc/procarray.c b/src/backend/storage/ipc/procarray.c index dadaa958a8..0555b02a8d 100644 --- a/src/backend/storage/ipc/procarray.c +++ b/src/backend/storage/ipc/procarray.c @@ -4212,8 +4212,8 @@ GlobalVisTestIsRemovableXid(GlobalVisState *state, TransactionId xid) /* * Convert 32 bit argument to FullTransactionId. We can do so safely * because we know the xid has to, at the very least, be between - * [oldestXid, nextFullXid), i.e. within 2 billion of xid. To avoid taking - * a lock to determine either, we can just compare with + * [oldestXid, nextXid), i.e. within 2 billion of xid. To avoid taking a + * lock to determine either, we can just compare with * state->definitely_needed, which was based on those value at the time * the current snapshot was built. */ |