Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 414cca4

Browse files
committed
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/[email protected]
1 parent 3c28fd2 commit 414cca4

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/tools/msvc/Solution.pm

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,6 @@ sub _new
5555
die "Bad wal_blocksize $options->{wal_blocksize}"
5656
unless grep { $_ == $options->{wal_blocksize} }
5757
(1, 2, 4, 8, 16, 32, 64);
58-
$options->{wal_segsize} = 16
59-
unless $options->{wal_segsize}; # undef or 0 means default
60-
die "Bad wal_segsize $options->{wal_segsize}"
61-
unless grep { $_ == $options->{wal_segsize} } (1, 2, 4, 8, 16, 32, 64);
6258

6359
return $self;
6460
}

0 commit comments

Comments
 (0)