]> granicus.if.org Git - postgresql/commit
Adjust input routines for float4, float8 and oid to reject the empty string
authorNeil Conway <neilc@samurai.com>
Fri, 11 Feb 2005 04:09:05 +0000 (04:09 +0000)
committerNeil Conway <neilc@samurai.com>
Fri, 11 Feb 2005 04:09:05 +0000 (04:09 +0000)
commit975e27377aadcabab6504155c091d27ea2fa4c53
treecbf5435f931969d09543401af0c1d8bb5dcb3d56
parent4db84f0880716ece570db2debf99b773bfb82dd3
Adjust input routines for float4, float8 and oid to reject the empty string
as valid input (it was previously treated as 0). This input was deprecated
in 8.0 (and a warning was emitted). Regression tests updated.
13 files changed:
src/backend/utils/adt/float.c
src/backend/utils/adt/oid.c
src/test/regress/expected/float4-exp-three-digits.out
src/test/regress/expected/float4.out
src/test/regress/expected/float8-exp-three-digits-win32.out
src/test/regress/expected/float8-exp-three-digits.out
src/test/regress/expected/float8-small-is-zero.out
src/test/regress/expected/float8-small-is-zero_1.out
src/test/regress/expected/float8.out
src/test/regress/expected/oid.out
src/test/regress/sql/float4.sql
src/test/regress/sql/float8.sql
src/test/regress/sql/oid.sql