projects
/
users
/
gsingh
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29dd673
)
Fix missed \' to '' conversion.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 21 May 2006 21:13:50 +0000
(21:13 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Sun, 21 May 2006 21:13:50 +0000
(21:13 +0000)
contrib/earthdistance/earthdistance.sql.in
patch
|
blob
|
blame
|
history
diff --git
a/contrib/earthdistance/earthdistance.sql.in
b/contrib/earthdistance/earthdistance.sql.in
index b5de753443417122e2642aafbefa39b4f7d042ae..4a08cd93694f1eb341d22b72fce860a88b265504 100644
(file)
--- 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