diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2004-07-19 02:47:16 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2004-07-19 02:47:16 +0000 |
commit | 66ec2db72840e4e400d879578744420c969ed7bf (patch) | |
tree | 44aa43c732dabe83405bc3a456f5f8c43845bf7c /src/include/access/xlog.h | |
parent | d0c1bbdcc61a4ac7cf005451af507ea8d0c64f54 (diff) |
XLOG file archiving and point-in-time recovery. There are still some
loose ends and a glaring lack of documentation, but it basically works.
Simon Riggs with some editorialization by Tom Lane.
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r-- | src/include/access/xlog.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index 1c29ab07626..630a62d77a9 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2003, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.52 2004/07/01 00:51:38 tgl Exp $ + * $PostgreSQL: pgsql/src/include/access/xlog.h,v 1.53 2004/07/19 02:47:13 tgl Exp $ */ #ifndef XLOG_H #define XLOG_H @@ -208,9 +208,12 @@ extern XLogRecPtr ProcLastRecEnd; /* these variables are GUC parameters related to XLOG */ extern int CheckPointSegments; extern int XLOGbuffers; +extern char *XLogArchiveCommand; extern char *XLOG_sync_method; extern const char XLOG_sync_method_default[]; +#define XLogArchivingActive() (XLogArchiveCommand[0] != '\0') + #ifdef WAL_DEBUG extern bool XLOG_DEBUG; #endif |