diff options
author | Simon Riggs <simon@2ndQuadrant.com> | 2017-04-04 18:00:01 -0400 |
---|---|---|
committer | Simon Riggs <simon@2ndQuadrant.com> | 2017-04-04 18:00:01 -0400 |
commit | 9a3215026bd6955e88bd8c20542cfe6acffdb1c8 (patch) | |
tree | 7945dfcf314642e5ef237d4f88ef2cdda051b74e /src/include/access/xlog.h | |
parent | cd740c0dbfb3038eea2e921e82e2f5345d0718c5 (diff) | |
download | postgresql-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.h | 4 |
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; |