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

Commita04dc87

Browse files
committed
Improve comment for GetStableLatestTransactionId().
1 parenta2b516d commita04dc87

File tree

1 file changed

+4
-2
lines changed
  • src/backend/access/transam

1 file changed

+4
-2
lines changed

‎src/backend/access/transam/xact.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -393,8 +393,10 @@ GetCurrentTransactionIdIfAny(void)
393393
/*
394394
*GetStableLatestTransactionId
395395
*
396-
* Get the XID once and then return same value for rest of transaction.
397-
* Acts as a useful reference point for maintenance tasks.
396+
* Get the transaction's XID if it has one, else read the next-to-be-assigned
397+
* XID. Once we have a value, return that same value for the remainder of the
398+
* current transaction. This is meant to provide the reference point for the
399+
* age(xid) function, but might be useful for other maintenance tasks as well.
398400
*/
399401
TransactionId
400402
GetStableLatestTransactionId(void)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp