8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2b516d commit a04dc87Copy full SHA for a04dc87
src/backend/access/transam/xact.c
@@ -393,8 +393,10 @@ GetCurrentTransactionIdIfAny(void)
393
/*
394
* GetStableLatestTransactionId
395
*
396
- * Get the XID once and then return same value for rest of transaction.
397
- * Acts as a useful reference point for maintenance tasks.
+ * Get the transaction's XID if it has one, else read the next-to-be-assigned
+ * 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.
400
*/
401
TransactionId
402
GetStableLatestTransactionId(void)
0 commit comments