Project

General

Profile

« Previous | Next » 

Revision 13820

fix: schemas/util.sql: point(): hide benign "Coordinate values were coerced into range [-180 -90, 180 90] for GEOGRAPHY" notices

View differences:

trunk/schemas/util.sql
2993 2993

  
2994 2994
CREATE FUNCTION point(latitude_deg double precision, longitude_deg double precision) RETURNS postgis.geography
2995 2995
    LANGUAGE sql IMMUTABLE
2996
    SET client_min_messages TO 'warning'
2996 2997
    AS $_$
2997 2998
SELECT postgis.st_setsrid(postgis.st_point(/*x_lon=*/$2, /*y_lat=*/$1),
2998 2999
/*WGS84*/4326)::postgis.geography

Also available in: Unified diff