summaryrefslogtreecommitdiff
path: root/contrib/earthdistance
diff options
context:
space:
mode:
authorAndrew Dunstan2006-07-27 16:12:36 +0000
committerAndrew Dunstan2006-07-27 16:12:36 +0000
commit596b858fcbc40256c5ee5c855f1a238ab51ab962 (patch)
tree59777e8c04493db09f485153d389fec566ad4be2 /contrib/earthdistance
parent8aab1978406b4f141856da2ebf749209d4b8ddb7 (diff)
fix most regression tests for new cube code.
Diffstat (limited to 'contrib/earthdistance')
-rw-r--r--contrib/earthdistance/expected/earthdistance.out5
-rw-r--r--contrib/earthdistance/sql/earthdistance.sql2
2 files changed, 4 insertions, 3 deletions
diff --git a/contrib/earthdistance/expected/earthdistance.out b/contrib/earthdistance/expected/earthdistance.out
index 6857384154b..186f6178837 100644
--- a/contrib/earthdistance/expected/earthdistance.out
+++ b/contrib/earthdistance/expected/earthdistance.out
@@ -5,10 +5,9 @@
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of earthdistance.sql or cube.sql.
--
+SET client_min_messages = warning;
\set ECHO none
-psql:../cube/cube.sql:10: NOTICE: type "cube" is not yet defined
-DETAIL: Creating a shell type definition.
-psql:../cube/cube.sql:15: NOTICE: argument type cube is only a shell
+RESET client_min_messages;
--
-- The radius of the Earth we are using.
--
diff --git a/contrib/earthdistance/sql/earthdistance.sql b/contrib/earthdistance/sql/earthdistance.sql
index 6ea1ed25933..f36f1a8bdbe 100644
--- a/contrib/earthdistance/sql/earthdistance.sql
+++ b/contrib/earthdistance/sql/earthdistance.sql
@@ -6,10 +6,12 @@
-- first, define the datatype. Turn off echoing so that expected file
-- does not depend on contents of earthdistance.sql or cube.sql.
--
+SET client_min_messages = warning;
\set ECHO none
\i ../cube/cube.sql
\i earthdistance.sql
\set ECHO all
+RESET client_min_messages;
--
-- The radius of the Earth we are using.