summaryrefslogtreecommitdiff
path: root/src/include/pg_config_manual.h
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2004-03-12 00:25:43 +0000
committerNeil Conway <neilc@samurai.com>2004-03-12 00:25:43 +0000
commitbfd6f52b0e0f1c1d579bf385dedfebca229dfcf5 (patch)
treed93225b282bd93d404205aaa8138ce262ae4cbdc /src/include/pg_config_manual.h
parentfe6e9221360116e440fc28e45b083eb0811682cd (diff)
downloadpostgresql-bfd6f52b0e0f1c1d579bf385dedfebca229dfcf5.tar.gz
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.
Diffstat (limited to 'src/include/pg_config_manual.h')
-rw-r--r--src/include/pg_config_manual.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/include/pg_config_manual.h b/src/include/pg_config_manual.h
index 8226c6d5cf..6fcf38ec7b 100644
--- a/src/include/pg_config_manual.h
+++ b/src/include/pg_config_manual.h
@@ -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 $
*------------------------------------------------------------------------
*/
@@ -176,12 +176,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
* 0..2^31-1, so we just hardwire this constant. We could do a