mirror of
https://github.com/postgres/postgres.git
synced 2025-11-24 00:23:06 +03:00
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
This commit is contained in:
@@ -365,15 +365,6 @@ incompatible_module_error(const char *libname,
|
||||
magic_data.namedatalen,
|
||||
module_magic_data->namedatalen);
|
||||
}
|
||||
if (module_magic_data->float4byval != magic_data.float4byval)
|
||||
{
|
||||
if (details.len)
|
||||
appendStringInfoChar(&details, '\n');
|
||||
appendStringInfo(&details,
|
||||
_("Server has FLOAT4PASSBYVAL = %s, library has %s."),
|
||||
magic_data.float4byval ? "true" : "false",
|
||||
module_magic_data->float4byval ? "true" : "false");
|
||||
}
|
||||
if (module_magic_data->float8byval != magic_data.float8byval)
|
||||
{
|
||||
if (details.len)
|
||||
|
||||
Reference in New Issue
Block a user