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/backend/access/transam/xlog.c | |
| 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/[email protected]
Diffstat (limited to 'src/backend/access/transam/xlog.c')
| -rw-r--r-- | src/backend/access/transam/xlog.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/backend/access/transam/xlog.c b/src/backend/access/transam/xlog.c index 3b766e66b9e..5f0ee50092c 100644 --- a/src/backend/access/transam/xlog.c +++ b/src/backend/access/transam/xlog.c @@ -4516,7 +4516,6 @@ WriteControlFile(void) ControlFile->toast_max_chunk_size = TOAST_MAX_CHUNK_SIZE; ControlFile->loblksize = LOBLKSIZE; - ControlFile->float4ByVal = FLOAT4PASSBYVAL; ControlFile->float8ByVal = FLOAT8PASSBYVAL; /* Contents are protected with a CRC */ @@ -4720,22 +4719,6 @@ ReadControlFile(void) ControlFile->loblksize, (int) LOBLKSIZE), errhint("It looks like you need to recompile or initdb."))); -#ifdef USE_FLOAT4_BYVAL - if (ControlFile->float4ByVal != true) - ereport(FATAL, - (errmsg("database files are incompatible with server"), - errdetail("The database cluster was initialized without USE_FLOAT4_BYVAL" - " but the server was compiled with USE_FLOAT4_BYVAL."), - errhint("It looks like you need to recompile or initdb."))); -#else - if (ControlFile->float4ByVal != false) - ereport(FATAL, - (errmsg("database files are incompatible with server"), - errdetail("The database cluster was initialized with USE_FLOAT4_BYVAL" - " but the server was compiled without USE_FLOAT4_BYVAL."), - errhint("It looks like you need to recompile or initdb."))); -#endif - #ifdef USE_FLOAT8_BYVAL if (ControlFile->float8ByVal != true) ereport(FATAL, |
