Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit305fcb7

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 seemstoday is not my day...
1 parent8fe61f0 commit305fcb7

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

‎contrib/cube/expected/cube_1.out

Lines changed: 6 additions & 6 deletions
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,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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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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 havemore than 100 dimensions.
407407
--
408408
-- testing the operators
409409
--

‎contrib/cube/expected/cube_2.out

Lines changed: 6 additions & 6 deletions
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,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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,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,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 havemore than 100 dimensions.
407407
--
408408
-- testing the operators
409409
--

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp