46 #define COMMIT_TS_ZEROPAGE 0x00
47 #define COMMIT_TS_TRUNCATE 0x10
57 #define SizeOfCommitTsSet (offsetof(xl_commit_ts_set, mainxid) + \
58 sizeof(TransactionId))
66 #define SizeOfCommitTsTruncate (offsetof(xl_commit_ts_truncate, oldestXid) + \
67 sizeof(TransactionId))
void StartupCommitTs(void)
TransactionId GetLatestCommitTsData(TimestampTz *ts, RepOriginId *nodeid)
void CommitTsParameterChange(bool newvalue, bool oldvalue)
struct xl_commit_ts_truncate xl_commit_ts_truncate
const char * commit_ts_identify(uint8 info)
Size CommitTsShmemSize(void)
void AdvanceOldestCommitTsXid(TransactionId oldestXact)
int committssyncfiletag(const FileTag *ftag, char *path)
void CompleteCommitTsInitialization(void)
struct xl_commit_ts_set xl_commit_ts_set
void TruncateCommitTs(TransactionId oldestXact)
void commit_ts_redo(XLogReaderState *record)
bool TransactionIdGetCommitTsData(TransactionId xid, TimestampTz *ts, RepOriginId *nodeid)
void BootStrapCommitTs(void)
void commit_ts_desc(StringInfo buf, XLogReaderState *record)
void CommitTsShmemInit(void)
void SetCommitTsLimit(TransactionId oldestXact, TransactionId newestXact)
void ExtendCommitTs(TransactionId newestXact)
PGDLLIMPORT bool track_commit_timestamp
void TransactionTreeSetCommitTsData(TransactionId xid, int nsubxids, TransactionId *subxids, TimestampTz timestamp, RepOriginId nodeid)
void CheckPointCommitTs(void)