From 305fcb7aa4de221a22a1b20d0116f87c8045c46b Mon Sep 17 00:00:00 2001 From: Neil Conway Date: Wed, 1 Mar 2006 23:00:56 +0000 Subject: [PATCH] Woops: also update the alternative "expected" files for contrib/cube's regression tests to account for the new error message wording. It seems today is not my day... --- contrib/cube/expected/cube_1.out | 12 ++++++------ contrib/cube/expected/cube_2.out | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/contrib/cube/expected/cube_1.out b/contrib/cube/expected/cube_1.out index 73a7c2f115..0f92f58be2 100644 --- a/contrib/cube/expected/cube_1.out +++ b/contrib/cube/expected/cube_1.out @@ -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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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)'::cube; ERROR: bad cube representation -DETAIL: more than 100 dimensions +DETAIL: A cube cannot have more than 100 dimensions. -- -- testing the operators -- diff --git a/contrib/cube/expected/cube_2.out b/contrib/cube/expected/cube_2.out index cea2f4ea94..42723e4004 100644 --- a/contrib/cube/expected/cube_2.out +++ b/contrib/cube/expected/cube_2.out @@ -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,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)'::cube; ERROR: bad cube representation -DETAIL: more than 100 dimensions +DETAIL: A cube cannot have more than 100 dimensions. -- -- testing the operators --