]> granicus.if.org Git - postgresql/commit
Make min_wal_size/max_wal_size use MB internally
authorSimon Riggs <simon@2ndQuadrant.com>
Tue, 4 Apr 2017 22:00:01 +0000 (18:00 -0400)
committerSimon Riggs <simon@2ndQuadrant.com>
Tue, 4 Apr 2017 22:00:01 +0000 (18:00 -0400)
commit9a3215026bd6955e88bd8c20542cfe6acffdb1c8
tree7945dfcf314642e5ef237d4f88ef2cdda051b74e
parentcd740c0dbfb3038eea2e921e82e2f5345d0718c5
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
src/backend/access/transam/xlog.c
src/backend/utils/misc/guc.c
src/include/access/xlog.h
src/include/utils/guc.h