diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2012-01-25 18:02:04 +0000 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2012-01-25 18:02:04 +0000 |
commit | 8366c7803ec3d0591cf2d1226fea1fee947d56c3 (patch) | |
tree | 6cdd97e2f9352127db470507f4e650fde0ad6f86 /src/include/access/xlog.h | |
parent | 74ab96a45ef6259aa6a86a781580edea8488511a (diff) |
Allow pg_basebackup from standby node with safety checking.
Base backup follows recommended procedure, plus goes to great
lengths to ensure that partial page writes are avoided.
Jun Ishizuka and Fujii Masao, with minor modifications
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r-- | src/include/access/xlog.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index 1ddf4bf15f9..f8aecef665b 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -192,6 +192,7 @@ extern int XLogArchiveTimeout; extern bool XLogArchiveMode; extern char *XLogArchiveCommand; extern bool EnableHotStandby; +extern bool fullPageWrites; extern bool log_checkpoints; /* WAL levels */ @@ -307,6 +308,7 @@ extern void CreateCheckPoint(int flags); extern bool CreateRestartPoint(int flags); extern void XLogPutNextOid(Oid nextOid); extern XLogRecPtr XLogRestorePoint(const char *rpName); +extern void UpdateFullPageWrites(void); extern XLogRecPtr GetRedoRecPtr(void); extern XLogRecPtr GetInsertRecPtr(void); extern XLogRecPtr GetFlushRecPtr(void); |