diff options
| author | Simon Riggs <simon@2ndQuadrant.com> | 2011-11-02 08:52:59 +0000 |
|---|---|---|
| committer | Simon Riggs <simon@2ndQuadrant.com> | 2011-11-02 08:52:59 +0000 |
| commit | 656bba95af3950b26e9e97d86d29787d89e2b423 (patch) | |
| tree | e24596755701b1765ac8f7089109cfa0392b8e46 /src/include/storage/standby.h | |
| parent | ff8451aa14c8513e429cbef09ddc72e79da366a5 (diff) | |
Derive oldestActiveXid at correct time for Hot Standby.
There was a timing window between when oldestActiveXid was derived
and when it should have been derived that only shows itself under
heavy load. Move code around to ensure correct timing of derivation.
No change to StartupSUBTRANS() code, which is where this failed.
Bug report by Chris Redekop
Diffstat (limited to 'src/include/storage/standby.h')
| -rw-r--r-- | src/include/storage/standby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/storage/standby.h b/src/include/storage/standby.h index 2df838f40fc..7b56847a26a 100644 --- a/src/include/storage/standby.h +++ b/src/include/storage/standby.h @@ -111,6 +111,6 @@ typedef RunningTransactionsData *RunningTransactions; extern void LogAccessExclusiveLock(Oid dbOid, Oid relOid); extern void LogAccessExclusiveLockPrepare(void); -extern void LogStandbySnapshot(TransactionId *oldestActiveXid, TransactionId *nextXid); +extern void LogStandbySnapshot(TransactionId *nextXid); #endif /* STANDBY_H */ |
