CVSROOT: /cvsroot
Module name: pgsql-server
Changes by: neilc@svr1.postgresql.org 04/03/11 20:25:44
Modified files:
doc/src/sgml : syntax.sgml
src/backend/utils/adt: float.c
src/include : pg_config_manual.h
src/test/regress/expected: float4.out float8.out
src/test/regress/sql: float4.sql float8.sql
Log message:
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.