diff options
| author | Peter Eisentraut | 2019-11-21 17:00:07 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2019-11-21 17:29:21 +0000 |
| commit | 2e4db241bfd3206bad8286f8ffc2db6bbdaefcdf (patch) | |
| tree | 709eee963e46e556e7f6e54a2eceba236e816a9e /src/tools | |
| parent | 43a54a3bccd7dc6be798475214d561f3e93b3055 (diff) | |
Remove configure --disable-float4-byval
This build option was only useful to maintain compatibility for
version-0 functions, but those are no longer supported, so this option
can be removed.
float4 is now always pass-by-value; the pass-by-reference code path is
completely removed.
Discussion: https://www.postgresql.org/message-id/flat/f3e1e576-2749-bbd7-2d57-3f9dcf75255a@2ndquadrant.com
Diffstat (limited to 'src/tools')
| -rw-r--r-- | src/tools/msvc/Solution.pm | 11 | ||||
| -rw-r--r-- | src/tools/msvc/config_default.pl | 1 |
2 files changed, 0 insertions, 12 deletions
diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 7f179f194be..e4ea62e80ba 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -31,8 +31,6 @@ sub _new $self->DeterminePlatform(); my $bits = $self->{platform} eq 'Win32' ? 32 : 64; - $options->{float4byval} = 1 - unless exists $options->{float4byval}; $options->{float8byval} = ($bits == 64) unless exists $options->{float8byval}; die "float8byval not permitted on 32 bit platforms" @@ -209,15 +207,6 @@ sub GenerateFiles print $o "#define XLOG_BLCKSZ ", 1024 * $self->{options}->{wal_blocksize}, "\n"; - if ($self->{options}->{float4byval}) - { - print $o "#define USE_FLOAT4_BYVAL 1\n"; - print $o "#define FLOAT4PASSBYVAL true\n"; - } - else - { - print $o "#define FLOAT4PASSBYVAL false\n"; - } if ($self->{options}->{float8byval}) { print $o "#define USE_FLOAT8_BYVAL 1\n"; diff --git a/src/tools/msvc/config_default.pl b/src/tools/msvc/config_default.pl index 043df4c5e87..62188c78e78 100644 --- a/src/tools/msvc/config_default.pl +++ b/src/tools/msvc/config_default.pl @@ -4,7 +4,6 @@ use warnings; our $config = { asserts => 0, # --enable-cassert - # float4byval=>1, # --disable-float4-byval, on by default # float8byval=> $platformbits == 64, # --disable-float8-byval, # off by default on 32 bit platforms, on by default on 64 bit platforms |
