mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Improve comment for GetStableLatestTransactionId().
This commit is contained in:
parent
a2b516dab9
commit
a04dc87db1
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user