1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-11 20:28:21 +03:00

Allow --with-wal-segsize=n up to n=1024MB

Other part of Beena Emerson's patch to allow testing
This commit is contained in:
Simon Riggs
2017-04-05 15:38:17 -04:00
parent ed770c325c
commit 00b6b6feb1
3 changed files with 11 additions and 3 deletions

6
configure vendored
View File

@ -3725,7 +3725,11 @@ case ${wal_segsize} in
16) ;;
32) ;;
64) ;;
*) as_fn_error $? "Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64." "$LINENO" 5
128) ;;
256) ;;
512) ;;
1024) ;;
*) as_fn_error $? "Invalid WAL segment size. Allowed values are 1,2,4,8,16,32,64,128,256,512,1024." "$LINENO" 5
esac
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${wal_segsize}MB" >&5
$as_echo "${wal_segsize}MB" >&6; }