-
- Downloads
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.
Showing
- doc/src/sgml/syntax.sgml 18 additions, 1 deletiondoc/src/sgml/syntax.sgml
- src/backend/utils/adt/float.c 16 additions, 32 deletionssrc/backend/utils/adt/float.c
- src/include/pg_config_manual.h 1 addition, 7 deletionssrc/include/pg_config_manual.h
- src/test/regress/expected/float4.out 30 additions, 0 deletionssrc/test/regress/expected/float4.out
- src/test/regress/expected/float8.out 30 additions, 0 deletionssrc/test/regress/expected/float8.out
- src/test/regress/sql/float4.sql 9 additions, 0 deletionssrc/test/regress/sql/float4.sql
- src/test/regress/sql/float8.sql 8 additions, 0 deletionssrc/test/regress/sql/float8.sql
Loading
Please register or sign in to comment