mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Allow 'Infinity' and '-Infinity' as input to the float4 and float8
types. Update the regression tests and the documentation to reflect this. Remove the UNSAFE_FLOATS #ifdef. This is only half the story: we still unconditionally reject floating point operations that result in +/- infinity. See recent thread on -hackers for more information.
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
* for developers. If you edit any of these, be sure to do a *full*
|
||||
* rebuild (and an initdb if noted).
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.10 2004/02/11 22:55:26 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/pg_config_manual.h,v 1.11 2004/03/12 00:25:40 neilc Exp $
|
||||
*------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
@ -175,12 +175,6 @@
|
||||
*/
|
||||
#define DEFAULT_PGSOCKET_DIR "/tmp"
|
||||
|
||||
/*
|
||||
* Defining this will make float4 and float8 operations faster by
|
||||
* suppressing overflow/underflow checks.
|
||||
*/
|
||||
/* #define UNSAFE_FLOATS */
|
||||
|
||||
/*
|
||||
* The random() function is expected to yield values between 0 and
|
||||
* MAX_RANDOM_VALUE. Currently, all known implementations yield
|
||||
|
Reference in New Issue
Block a user