Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 305fcb7

Browse files
author
Neil Conway
committed
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...
1 parent 8fe61f0 commit 305fcb7

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

contrib/cube/expected/cube_1.out

+6-6
Original file line numberDiff line numberDiff line change
@@ -307,19 +307,19 @@ ERROR: bad cube representation
307307
DETAIL: syntax error at or near ","
308308
SELECT '[(1,2,3),(2,3)]'::cube AS cube; -- 1
309309
ERROR: bad cube representation
310-
DETAIL: different point dimensions in (1,2,3) and (2,3)
310+
DETAIL: Different point dimensions in (1,2,3) and (2,3).
311311
SELECT '[(1,2),(1,2,3)]'::cube AS cube; -- 1
312312
ERROR: bad cube representation
313-
DETAIL: different point dimensions in (1,2) and (1,2,3)
313+
DETAIL: Different point dimensions in (1,2) and (1,2,3).
314314
SELECT '(1),(2),'::cube AS cube; -- 2
315315
ERROR: bad cube representation
316316
DETAIL: syntax error at or near ","
317317
SELECT '(1,2,3),(2,3)'::cube AS cube; -- 3
318318
ERROR: bad cube representation
319-
DETAIL: different point dimensions in (1,2,3) and (2,3)
319+
DETAIL: Different point dimensions in (1,2,3) and (2,3).
320320
SELECT '(1,2),(1,2,3)'::cube AS cube; -- 3
321321
ERROR: bad cube representation
322-
DETAIL: different point dimensions in (1,2) and (1,2,3)
322+
DETAIL: Different point dimensions in (1,2) and (1,2,3).
323323
SELECT '(1,2,3)ab'::cube AS cube; -- 4
324324
ERROR: bad cube representation
325325
DETAIL: syntax error at or near "a"
@@ -400,10 +400,10 @@ SELECT '(0)'::text::cube;
400400
--
401401
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,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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)'::cube;
405405
ERROR: bad cube representation
406-
DETAIL: more than 100 dimensions
406+
DETAIL: A cube cannot have more than 100 dimensions.
407407
--
408408
-- testing the operators
409409
--

contrib/cube/expected/cube_2.out

+6-6
Original file line numberDiff line numberDiff line change
@@ -307,19 +307,19 @@ ERROR: bad cube representation
307307
DETAIL: syntax error at or near ","
308308
SELECT '[(1,2,3),(2,3)]'::cube AS cube; -- 1
309309
ERROR: bad cube representation
310-
DETAIL: different point dimensions in (1,2,3) and (2,3)
310+
DETAIL: Different point dimensions in (1,2,3) and (2,3).
311311
SELECT '[(1,2),(1,2,3)]'::cube AS cube; -- 1
312312
ERROR: bad cube representation
313-
DETAIL: different point dimensions in (1,2) and (1,2,3)
313+
DETAIL: Different point dimensions in (1,2) and (1,2,3).
314314
SELECT '(1),(2),'::cube AS cube; -- 2
315315
ERROR: bad cube representation
316316
DETAIL: syntax error at or near ","
317317
SELECT '(1,2,3),(2,3)'::cube AS cube; -- 3
318318
ERROR: bad cube representation
319-
DETAIL: different point dimensions in (1,2,3) and (2,3)
319+
DETAIL: Different point dimensions in (1,2,3) and (2,3).
320320
SELECT '(1,2),(1,2,3)'::cube AS cube; -- 3
321321
ERROR: bad cube representation
322-
DETAIL: different point dimensions in (1,2) and (1,2,3)
322+
DETAIL: Different point dimensions in (1,2) and (1,2,3).
323323
SELECT '(1,2,3)ab'::cube AS cube; -- 4
324324
ERROR: bad cube representation
325325
DETAIL: syntax error at or near "a"
@@ -400,10 +400,10 @@ SELECT '(0)'::text::cube;
400400
--
401401
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,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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)'::cube;
405405
ERROR: bad cube representation
406-
DETAIL: more than 100 dimensions
406+
DETAIL: A cube cannot have more than 100 dimensions.
407407
--
408408
-- testing the operators
409409
--

0 commit comments

Comments
 (0)