From: Regina Obe Date: Sat, 16 Aug 2014 05:15:02 +0000 (+0000) Subject: #2870 put in change notice in sql geograpy(bytea) has changed, put in regression... X-Git-Tag: 2.2.0rc1~888 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4a057813c353f9699bdc190429e24514ca60d873;p=postgis #2870 put in change notice in sql geograpy(bytea) has changed, put in regression test git-svn-id: http://svn.osgeo.org/postgis/trunk@12889 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/postgis/geography.sql.in b/postgis/geography.sql.in index efccf5c51..68b5d9d23 100644 --- a/postgis/geography.sql.in +++ b/postgis/geography.sql.in @@ -82,6 +82,7 @@ CREATE OR REPLACE FUNCTION geography(geography, integer, boolean) CREATE CAST (geography AS geography) WITH FUNCTION geography(geography, integer, boolean) AS IMPLICIT; -- Availability: 2.0.0 +-- Changed: 2.1.4 ticket #2870 changed to use geography bytea func instead of geometry bytea CREATE OR REPLACE FUNCTION geography(bytea) RETURNS geography AS 'MODULE_PATHNAME','geography_from_binary' diff --git a/regress/tickets.sql b/regress/tickets.sql index 68e5fc724..d869055e9 100644 --- a/regress/tickets.sql +++ b/regress/tickets.sql @@ -880,5 +880,7 @@ SELECT '#2712', ST_AsText(ST_Segmentize('LINESTRING EMPTY'::geometry, 0.5)); SELECT '#2788', valid, reason, ST_AsText(location) from ST_IsValidDetail('POLYGON((0 0, 0 1, 2 1, 2 2, 1 2, 1 0, 0 0))'::geometry); +SELECT '#2870', ST_Summary('Point(151.215289 -33.856885)'::geometry::bytea::geography) ; + -- Clean up DELETE FROM spatial_ref_sys; diff --git a/regress/tickets_expected b/regress/tickets_expected index 9495f323d..4b3524476 100644 --- a/regress/tickets_expected +++ b/regress/tickets_expected @@ -259,3 +259,4 @@ ERROR: invalid GML representation #2704|POLYGON((0 0,0 1,1 1,1 0,0 0)) #2712|LINESTRING EMPTY #2788|f|Self-intersection|POINT(1 1) +#2870|Point[GS]