1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

Ensure age() returns a stable value rather than the latest value

This commit is contained in:
Simon Riggs
2012-05-11 14:36:24 +01:00
parent 3652d72dd4
commit b06679e012
3 changed files with 26 additions and 5 deletions

View File

@@ -209,6 +209,7 @@ extern TransactionId GetTopTransactionId(void);
extern TransactionId GetTopTransactionIdIfAny(void);
extern TransactionId GetCurrentTransactionId(void);
extern TransactionId GetCurrentTransactionIdIfAny(void);
extern TransactionId GetStableLatestTransactionId(void);
extern SubTransactionId GetCurrentSubTransactionId(void);
extern CommandId GetCurrentCommandId(bool used);
extern TimestampTz GetCurrentTransactionStartTimestamp(void);