diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2011-11-04 09:37:17 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2011-11-04 09:37:17 +0000 |
commit | a030bfa6e41edae8a9a68dc8cef7fc7813f69a0a (patch) | |
tree | 121f58cb9b0e63704db9487ff291e3bdc77dddc0 /src/include/access/xlog.h | |
parent | e145891c984540a86788f88b604c766c934b17ea (diff) | |
download | postgresql-a030bfa6e41edae8a9a68dc8cef7fc7813f69a0a.tar.gz postgresql-a030bfa6e41edae8a9a68dc8cef7fc7813f69a0a.zip |
Move user functions related to WAL into xlogfuncs.c
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r-- | src/include/access/xlog.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index 6c7b0216730..83106b80e4e 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -293,6 +293,11 @@ extern bool XLogInsertAllowed(void); extern void GetXLogReceiptTime(TimestampTz *rtime, bool *fromStream); extern XLogRecPtr GetXLogReplayRecPtr(XLogRecPtr *restoreLastRecPtr); extern XLogRecPtr GetStandbyFlushRecPtr(void); +extern XLogRecPtr GetXLogInsertRecPtr(bool needlock); +extern XLogRecPtr GetXLogWriteRecPtr(void); +extern bool RecoveryIsPaused(void); +extern void SetRecoveryPause(bool recoveryPause); +extern TimestampTz GetLatestXTime(void); extern void UpdateControlFile(void); extern uint64 GetSystemIdentifier(void); |