Commit 414cca40 authored by Michael Paquier's avatar Michael Paquier

Remove last references to WAL segment size in MSVC scripts

fc49e24f 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
parent 3c28fd22
...@@ -55,10 +55,6 @@ sub _new ...@@ -55,10 +55,6 @@ sub _new
die "Bad wal_blocksize $options->{wal_blocksize}" die "Bad wal_blocksize $options->{wal_blocksize}"
unless grep { $_ == $options->{wal_blocksize} } unless grep { $_ == $options->{wal_blocksize} }
(1, 2, 4, 8, 16, 32, 64); (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; return $self;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment