1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-31 22:04:40 +03:00

Use SQL standard '' rather than \' in /contrib. Backpatch to 8.1.X.

This commit is contained in:
Bruce Momjian
2006-05-19 02:39:04 +00:00
parent 1c01a5108a
commit 9a27f72b37
5 changed files with 10 additions and 10 deletions

View 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