diff options
Diffstat (limited to 'src/include/catalog/pg_control.h')
-rw-r--r-- | src/include/catalog/pg_control.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/catalog/pg_control.h b/src/include/catalog/pg_control.h index b2f4a5c5a46..4637610af79 100644 --- a/src/include/catalog/pg_control.h +++ b/src/include/catalog/pg_control.h @@ -8,7 +8,7 @@ * Portions Copyright (c) 1996-2010, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/include/catalog/pg_control.h,v 1.51 2010/02/26 02:01:21 momjian Exp $ + * $PostgreSQL: pgsql/src/include/catalog/pg_control.h,v 1.52 2010/04/23 19:57:19 sriggs Exp $ * *------------------------------------------------------------------------- */ @@ -45,7 +45,7 @@ typedef struct CheckPoint int MaxConnections; int max_prepared_xacts; int max_locks_per_xact; - bool XLogStandbyInfoMode; + int XLogModeFlags; /* * Oldest XID still running. This is only needed to initialize hot standby @@ -65,6 +65,10 @@ typedef struct CheckPoint #define XLOG_BACKUP_END 0x50 #define XLOG_UNLOGGED 0x60 +/* XLogModeFlags */ +#define XLOG_MODE_ARCHIVING (1 << 0) +#define XLOG_MODE_STREAMING (1 << 1) +#define XLOG_MODE_HOT_STANDBY (1 << 2) /* System status indicator */ typedef enum DBState |