diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2012-05-11 14:38:11 +0100 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2012-05-11 14:38:11 +0100 |
commit | 1a4bc2db6cb80a6e52aed8f5a68b895231653d6c (patch) | |
tree | 2882f193163ac3fac7c582f1bb9fcc1498219d88 /src/include/access/xact.h | |
parent | 153b1dbaa0b94143041ab1e0cf249a02380f0acf (diff) | |
download | postgresql-1a4bc2db6cb80a6e52aed8f5a68b895231653d6c.tar.gz postgresql-1a4bc2db6cb80a6e52aed8f5a68b895231653d6c.zip |
Ensure age() returns a stable value rather than the latest value
Diffstat (limited to 'src/include/access/xact.h')
-rw-r--r-- | src/include/access/xact.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/access/xact.h b/src/include/access/xact.h index cb440d41f14..29ef4a1bce3 100644 --- a/src/include/access/xact.h +++ b/src/include/access/xact.h @@ -198,6 +198,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); |