From: Michael Paquier <michael@paquier.xyz> Date: Wed, 19 Jun 2019 02:18:50 +0000 (+0900) Subject: Remove last references to WAL segment size in MSVC scripts X-Git-Tag: REL_12_BETA3~163 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=414cca40d506dd3f17b49ae3139853139192c2ba;p=postgresql Remove last references to WAL segment size in MSVC scripts fc49e24 has removed the last use of this compile-time variable as WAL segment size is something that can now be set at initdb time, still this commit has forgotten some references to it. Discussion: https://postgr.es/m/20190617073228.GE18917@paquier.xyz --- diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 33ba15c15e..cbe019e524 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -55,10 +55,6 @@ sub _new die "Bad wal_blocksize $options->{wal_blocksize}" unless grep { $_ == $options->{wal_blocksize} } (1, 2, 4, 8, 16, 32, 64); - $options->{wal_segsize} = 16 - unless $options->{wal_segsize}; # undef or 0 means default - die "Bad wal_segsize $options->{wal_segsize}" - unless grep { $_ == $options->{wal_segsize} } (1, 2, 4, 8, 16, 32, 64); return $self; }