]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Fix missed \' to '' conversion.
authorTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 May 2006 21:13:50 +0000 (21:13 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sun, 21 May 2006 21:13:50 +0000 (21:13 +0000)
contrib/earthdistance/earthdistance.sql.in

index b5de753443417122e2642aafbefa39b4f7d042ae..4a08cd93694f1eb341d22b72fce860a88b265504 100644 (file)
@@ -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