diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-02-10 21:00:29 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2011-02-10 21:04:02 +0200 |
commit | b186523fd97ce02ffbb7e21d5385a047deeef4f6 (patch) | |
tree | 00e70beaaa8529b291f85b214ee87fc686083cea /src/include/access/xlog.h | |
parent | 4c468b37a281941afd3bf61c782b20def8c17047 (diff) | |
download | postgresql-b186523fd97ce02ffbb7e21d5385a047deeef4f6.tar.gz postgresql-b186523fd97ce02ffbb7e21d5385a047deeef4f6.zip |
Send status updates back from standby server to master, indicating how far
the standby has written, flushed, and applied the WAL. At the moment, this
is for informational purposes only, the values are only shown in
pg_stat_replication system view, but in the future they will also be needed
for synchronous replication.
Extracted from Simon riggs' synchronous replication patch by Robert Haas, with
some tweaking by me.
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r-- | src/include/access/xlog.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index ff73272f755..1803d5ab201 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -291,6 +291,7 @@ extern void issue_xlog_fsync(int fd, uint32 log, uint32 seg); extern bool RecoveryInProgress(void); extern bool XLogInsertAllowed(void); extern void GetXLogReceiptTime(TimestampTz *rtime, bool *fromStream); +extern XLogRecPtr GetXLogReplayRecPtr(void); extern void UpdateControlFile(void); extern uint64 GetSystemIdentifier(void); |