mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-07 12:20:31 +01:00
Fix missed \' to '' conversion.
This commit is contained in:
parent
29dd673a94
commit
6450cee473
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user