Content-Length: 262616 | pFad | http://github.com/postgrespro/postgres/commit/a04dc87db140ddfb86008f424b8c4b2b6eeaa4cf

19 Improve comment for GetStableLatestTransactionId(). · postgrespro/postgres@a04dc87 · GitHub
Skip to content

Commit a04dc87

Browse files
committed
Improve comment for GetStableLatestTransactionId().
1 parent a2b516d commit a04dc87

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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/a04dc87db140ddfb86008f424b8c4b2b6eeaa4cf

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy