postgres.git / summary / log / commit / refs
commit 6450cee473fd82a763e2c3dc56e2dfb0352f20f8
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Sun May 21 21:13:50 2006 +0000
First released in: 8.0.8
Fix missed \' to '' conversion.
contrib/earthdistance/earthdistance.sql.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/earthdistance/earthdistance.sql.in b/contrib/earthdistance/earthdistance.sql.in
index b5de7534434..4a08cd93694 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
[parent: 29dd673a94fd]