Commit a04dc87d authored by Tom Lane's avatar Tom Lane

Improve comment for GetStableLatestTransactionId().

parent a2b516da
...@@ -393,8 +393,10 @@ GetCurrentTransactionIdIfAny(void) ...@@ -393,8 +393,10 @@ GetCurrentTransactionIdIfAny(void)
/* /*
* GetStableLatestTransactionId * GetStableLatestTransactionId
* *
* Get the XID once and then return same value for rest of transaction. * Get the transaction's XID if it has one, else read the next-to-be-assigned
* Acts as a useful reference point for maintenance tasks. * XID. Once we have a value, return that same value for the remainder of the
* current transaction. This is meant to provide the reference point for the
* age(xid) function, but might be useful for other maintenance tasks as well.
*/ */
TransactionId TransactionId
GetStableLatestTransactionId(void) GetStableLatestTransactionId(void)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment