]> granicus.if.org Git - postgresql/commitdiff
Remove last references to WAL segment size in MSVC scripts
authorMichael Paquier <michael@paquier.xyz>
Wed, 19 Jun 2019 02:18:50 +0000 (11:18 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 19 Jun 2019 02:18:50 +0000 (11:18 +0900)
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

index 33ba15c15ee10a6b8bc8ec9b82427eed34e5c743..cbe019e5244bc27277df3d7fce95aa7a3dfdf933 100644 (file)
@@ -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;
 }