]> granicus.if.org Git - postgresql/commitdiff
Woops: also update the alternative "expected" files for contrib/cube's
authorNeil Conway <neilc@samurai.com>
Wed, 1 Mar 2006 23:00:56 +0000 (23:00 +0000)
committerNeil Conway <neilc@samurai.com>
Wed, 1 Mar 2006 23:00:56 +0000 (23:00 +0000)
regression tests to account for the new error message wording. It seems
today is not my day...

contrib/cube/expected/cube_1.out
contrib/cube/expected/cube_2.out

index 73a7c2f115a1f606474d868d7cc53e62db38c976..0f92f58be22b96e205e854fc11d02b32a0bed730 100644 (file)
@@ -307,19 +307,19 @@ ERROR:  bad cube representation
 DETAIL:  syntax error at or near ","
 SELECT '[(1,2,3),(2,3)]'::cube AS cube; -- 1
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2,3) and (2,3)
+DETAIL:  Different point dimensions in (1,2,3) and (2,3).
 SELECT '[(1,2),(1,2,3)]'::cube AS cube; -- 1
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2) and (1,2,3)
+DETAIL:  Different point dimensions in (1,2) and (1,2,3).
 SELECT '(1),(2),'::cube AS cube; -- 2
 ERROR:  bad cube representation
 DETAIL:  syntax error at or near ","
 SELECT '(1,2,3),(2,3)'::cube AS cube; -- 3
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2,3) and (2,3)
+DETAIL:  Different point dimensions in (1,2,3) and (2,3).
 SELECT '(1,2),(1,2,3)'::cube AS cube; -- 3
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2) and (1,2,3)
+DETAIL:  Different point dimensions in (1,2) and (1,2,3).
 SELECT '(1,2,3)ab'::cube AS cube; -- 4
 ERROR:  bad cube representation
 DETAIL:  syntax error at or near "a"
@@ -400,10 +400,10 @@ SELECT '(0)'::text::cube;
 --
 select '(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)'::cube;
 ERROR:  bad cube representation
-DETAIL:  more than 100 dimensions
+DETAIL:  A cube cannot have more than 100 dimensions.
 --
 -- testing the  operators
 --
index cea2f4ea94521d41d6eece4ec1903b46f2b400c4..42723e40046b278f7773115f05ca7730488564e7 100644 (file)
@@ -307,19 +307,19 @@ ERROR:  bad cube representation
 DETAIL:  syntax error at or near ","
 SELECT '[(1,2,3),(2,3)]'::cube AS cube; -- 1
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2,3) and (2,3)
+DETAIL:  Different point dimensions in (1,2,3) and (2,3).
 SELECT '[(1,2),(1,2,3)]'::cube AS cube; -- 1
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2) and (1,2,3)
+DETAIL:  Different point dimensions in (1,2) and (1,2,3).
 SELECT '(1),(2),'::cube AS cube; -- 2
 ERROR:  bad cube representation
 DETAIL:  syntax error at or near ","
 SELECT '(1,2,3),(2,3)'::cube AS cube; -- 3
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2,3) and (2,3)
+DETAIL:  Different point dimensions in (1,2,3) and (2,3).
 SELECT '(1,2),(1,2,3)'::cube AS cube; -- 3
 ERROR:  bad cube representation
-DETAIL:  different point dimensions in (1,2) and (1,2,3)
+DETAIL:  Different point dimensions in (1,2) and (1,2,3).
 SELECT '(1,2,3)ab'::cube AS cube; -- 4
 ERROR:  bad cube representation
 DETAIL:  syntax error at or near "a"
@@ -400,10 +400,10 @@ SELECT '(0)'::text::cube;
 --
 select '(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0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0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)'::cube;
 ERROR:  bad cube representation
-DETAIL:  more than 100 dimensions
+DETAIL:  A cube cannot have more than 100 dimensions.
 --
 -- testing the  operators
 --