aboutsummaryrefslogtreecommitdiff
path: root/src/include/access/xlog.h
diff options
context:
space:
mode:
authorSimon Riggs <simon@2ndQuadrant.com>2017-04-04 18:00:01 -0400
committerSimon Riggs <simon@2ndQuadrant.com>2017-04-04 18:00:01 -0400
commit9a3215026bd6955e88bd8c20542cfe6acffdb1c8 (patch)
tree7945dfcf314642e5ef237d4f88ef2cdda051b74e /src/include/access/xlog.h
parentcd740c0dbfb3038eea2e921e82e2f5345d0718c5 (diff)
downloadpostgresql-9a3215026bd6955e88bd8c20542cfe6acffdb1c8.tar.gz
postgresql-9a3215026bd6955e88bd8c20542cfe6acffdb1c8.zip
Make min_wal_size/max_wal_size use MB internally
Previously they were defined using multiples of XLogSegSize. Remove GUC_UNIT_XSEGS. Introduce GUC_UNIT_MB Extracted from patch series on XLogSegSize infrastructure. Beena Emerson
Diffstat (limited to 'src/include/access/xlog.h')
-rw-r--r--src/include/access/xlog.h4
1 files changed, 2 insertions, 2 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;