diff options
| author | Neil Conway <neilc@samurai.com> | 2005-02-11 04:09:05 +0000 |
|---|---|---|
| committer | Neil Conway <neilc@samurai.com> | 2005-02-11 04:09:05 +0000 |
| commit | 975e27377aadcabab6504155c091d27ea2fa4c53 (patch) | |
| tree | cbf5435f931969d09543401af0c1d8bb5dcb3d56 /src/test/regress/expected/float4.out | |
| parent | 4db84f0880716ece570db2debf99b773bfb82dd3 (diff) | |
| download | postgresql-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.out | 2 |
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'); |
