From 485541a3aaf17f6fa461de493130e2813b7b916d Mon Sep 17 00:00:00 2001
From: Neil Conway <neilc@samurai.com>
Date: Wed, 1 Mar 2006 21:09:32 +0000
Subject: [PATCH] Update the expected regression test results to account for
 the changes to error messages I made yesterday -- thanks to Andrew Dunstan
 for reporting this, and my apologies for missing it the first time.

---
 contrib/cube/expected/cube.out             | 12 ++++++------
 src/pl/plpython/expected/plpython_test.out |  2 +-
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/contrib/cube/expected/cube.out b/contrib/cube/expected/cube.out
index d1648c53cdb..578d27be7f8 100644
--- a/contrib/cube/expected/cube.out
+++ b/contrib/cube/expected/cube.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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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)'::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/src/pl/plpython/expected/plpython_test.out b/src/pl/plpython/expected/plpython_test.out
index 6aa550dad5d..2ccb3e94c8e 100644
--- a/src/pl/plpython/expected/plpython_test.out
+++ b/src/pl/plpython/expected/plpython_test.out
@@ -191,7 +191,7 @@ SELECT test_void_func1(), test_void_func1() IS NULL AS "is null";
 
 SELECT test_void_func2(); -- should fail
 ERROR:  invalid return value from plpython function
-DETAIL:  Functions returning type "void" must return "None".
+DETAIL:  Functions returning type "void" must return None.
 SELECT test_return_none(), test_return_none() IS NULL AS "is null";
  test_return_none | is null 
 ------------------+---------
-- 
GitLab