diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/access/xlog.h | 4 | ||||
-rw-r--r-- | src/include/utils/guc.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/access/xlog.h b/src/include/access/xlog.h index d4abf948628..d23aab589e3 100644 --- a/src/include/access/xlog.h +++ b/src/include/access/xlog.h @@ -94,8 +94,8 @@ extern PGDLLIMPORT XLogRecPtr XactLastCommitEnd; extern bool reachedConsistency; /* these variables are GUC parameters related to XLOG */ -extern int min_wal_size; -extern int max_wal_size; +extern int min_wal_size_mb; +extern int max_wal_size_mb; extern int wal_keep_segments; extern int XLOGbuffers; extern int XLogArchiveTimeout; diff --git a/src/include/utils/guc.h b/src/include/utils/guc.h index 7dd378026a6..87d07410845 100644 --- a/src/include/utils/guc.h +++ b/src/include/utils/guc.h @@ -218,7 +218,7 @@ typedef enum #define GUC_UNIT_KB 0x1000 /* value is in kilobytes */ #define GUC_UNIT_BLOCKS 0x2000 /* value is in blocks */ #define GUC_UNIT_XBLOCKS 0x3000 /* value is in xlog blocks */ -#define GUC_UNIT_XSEGS 0x4000 /* value is in xlog segments */ +#define GUC_UNIT_MB 0x4000 /* value is in megabytes */ #define GUC_UNIT_MEMORY 0xF000 /* mask for size-related units */ #define GUC_UNIT_MS 0x10000 /* value is in milliseconds */ |