mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Update /contrib regression tests for escape_string_warning.
This commit is contained 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
|
||||
|
Reference in New Issue
Block a user