diff options
| author | Bruce Momjian | 2006-03-08 03:51:52 +0000 |
|---|---|---|
| committer | Bruce Momjian | 2006-03-08 03:51:52 +0000 |
| commit | daab4a101fc1198c20992c036157dd2a4b588a68 (patch) | |
| tree | 9ce111c82c2ce696dae473e92cc58b5c201157e4 /contrib/earthdistance | |
| parent | 43ceb3d4493dc7bcd9a32302b04bd31f1f0edffc (diff) | |
Update /contrib regression tests for escape_string_warning.
Diffstat (limited to 'contrib/earthdistance')
| -rw-r--r-- | contrib/earthdistance/earthdistance.sql.in | 2 |
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 |
