mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Cleanup commit timestamp module activaction, again
Further tweak commit_ts.c so that on a standby the state is completely consistent with what that in the master, rather than behaving differently in the cases that the settings differ. Now in standby and master the module should always be active or inactive in lockstep. Author: Petr Jelínek, with some further tweaks by Álvaro Herrera. Backpatch to 9.5, where commit timestamps were introduced. Discussion: http://www.postgresql.org/message-id/5622BF9D.2010409@2ndquadrant.com
This commit is contained in:
@ -40,7 +40,7 @@ extern void CompleteCommitTsInitialization(void);
|
||||
extern void ShutdownCommitTs(void);
|
||||
extern void CheckPointCommitTs(void);
|
||||
extern void ExtendCommitTs(TransactionId newestXact);
|
||||
extern void TruncateCommitTs(TransactionId oldestXact, bool do_wal);
|
||||
extern void TruncateCommitTs(TransactionId oldestXact);
|
||||
extern void SetCommitTsLimit(TransactionId oldestXact,
|
||||
TransactionId newestXact);
|
||||
extern void AdvanceOldestCommitTs(TransactionId oldestXact);
|
||||
|
Reference in New Issue
Block a user