diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-10-27 15:06:50 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2015-10-27 15:06:50 -0300 |
commit | 531d21b75ff6b18ea8638c736a05326ebd519f49 (patch) | |
tree | 8e4ef04bbc8e99b1466f667eb7d7273db532c27f /src/include/access/commit_ts.h | |
parent | 0cd836a4e818f049716e47fe81bf5d4800509c57 (diff) | |
download | postgresql-531d21b75ff6b18ea8638c736a05326ebd519f49.tar.gz postgresql-531d21b75ff6b18ea8638c736a05326ebd519f49.zip |
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
Diffstat (limited to 'src/include/access/commit_ts.h')
-rw-r--r-- | src/include/access/commit_ts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/access/commit_ts.h b/src/include/access/commit_ts.h index 1b95b5837ea..3844bb30ff2 100644 --- a/src/include/access/commit_ts.h +++ b/src/include/access/commit_ts.h @@ -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); |