summaryrefslogtreecommitdiff
path: root/src/test/regress/expected/float4.out
diff options
context:
space:
mode:
authorNeil Conway <neilc@samurai.com>2005-02-11 04:09:05 +0000
committerNeil Conway <neilc@samurai.com>2005-02-11 04:09:05 +0000
commit975e27377aadcabab6504155c091d27ea2fa4c53 (patch)
treecbf5435f931969d09543401af0c1d8bb5dcb3d56 /src/test/regress/expected/float4.out
parent4db84f0880716ece570db2debf99b773bfb82dd3 (diff)
downloadpostgresql-975e27377aadcabab6504155c091d27ea2fa4c53.tar.gz
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.
Diffstat (limited to 'src/test/regress/expected/float4.out')
-rw-r--r--src/test/regress/expected/float4.out2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/regress/expected/float4.out b/src/test/regress/expected/float4.out
index e4d460359f..8ababaad6e 100644
--- a/src/test/regress/expected/float4.out
+++ b/src/test/regress/expected/float4.out
@@ -17,6 +17,8 @@ ERROR: type "real" value out of range: underflow
INSERT INTO FLOAT4_TBL(f1) VALUES ('-10e-40');
ERROR: type "real" value out of range: underflow
-- bad input
+INSERT INTO FLOAT4_TBL(f1) VALUES ('');
+ERROR: invalid input syntax for type real: ""
INSERT INTO FLOAT4_TBL(f1) VALUES (' ');
ERROR: invalid input syntax for type real: " "
INSERT INTO FLOAT4_TBL(f1) VALUES ('xyz');