From 414cca40d506dd3f17b49ae3139853139192c2ba Mon Sep 17 00:00:00 2001 From: Michael Paquier Date: Wed, 19 Jun 2019 11:18:50 +0900 Subject: [PATCH] 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 --- src/tools/msvc/Solution.pm | 4 ---- 1 file changed, 4 deletions(-) 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; } -- 2.39.5