summaryrefslogtreecommitdiff
path: root/contrib/earthdistance
diff options
context:
space:
mode:
authorBruce Momjian2006-03-08 03:51:52 +0000
committerBruce Momjian2006-03-08 03:51:52 +0000
commitdaab4a101fc1198c20992c036157dd2a4b588a68 (patch)
tree9ce111c82c2ce696dae473e92cc58b5c201157e4 /contrib/earthdistance
parent43ceb3d4493dc7bcd9a32302b04bd31f1f0edffc (diff)
Update /contrib regression tests for escape_string_warning.
Diffstat (limited to 'contrib/earthdistance')
-rw-r--r--contrib/earthdistance/earthdistance.sql.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/earthdistance/earthdistance.sql.in b/contrib/earthdistance/earthdistance.sql.in
index 3811b1d77f5..a7535f5d49c 100644
--- a/contrib/earthdistance/earthdistance.sql.in
+++ b/contrib/earthdistance/earthdistance.sql.in
@@ -9,7 +9,7 @@ SET search_path = public;
CREATE OR REPLACE FUNCTION earth() RETURNS float8
LANGUAGE SQL IMMUTABLE
-AS 'SELECT \'6378168\'::float8';
+AS 'SELECT ''6378168''::float8';
-- Astromers may want to change the earth function so that distances will be
-- returned in degrees. To do this comment out the above definition and