Update expected result for new inet error message wording.

This commit is contained in:
Bruce Momjian 2007-01-02 23:38:42 +00:00
parent f2a19cf3a5
commit d30d8f3aa0
1 changed files with 4 additions and 4 deletions

View File

@ -425,13 +425,13 @@ SELECT '127::2'::inet - ('127::2'::inet - 500);
-- these should give overflow errors:
SELECT '127.0.0.1'::inet + 10000000000;
ERROR: result out of range
ERROR: result is out of range
SELECT '127.0.0.1'::inet - 10000000000;
ERROR: result out of range
ERROR: result is out of range
SELECT '126::1'::inet - '127::2'::inet;
ERROR: result out of range
ERROR: result is out of range
SELECT '127::1'::inet - '126::2'::inet;
ERROR: result out of range
ERROR: result is out of range
-- but not these
SELECT '127::1'::inet + 10000000000;
?column?