]> granicus.if.org Git - postgis/commitdiff
#3087 cast text to geometry lwgeom_regress failure when testing .with CREATE EXTENSIO
authorRegina Obe <lr@pcorp.us>
Mon, 23 Mar 2015 04:14:35 +0000 (04:14 +0000)
committerRegina Obe <lr@pcorp.us>
Mon, 23 Mar 2015 04:14:35 +0000 (04:14 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13387 b70326c6-7e19-0410-871a-916f4a2858ee

regress/lwgeom_regress.sql

index 8df265cf7f8066a30c6140ce0496e215d39f3b22..00c0465a9afbedfc6c663fdc079d7777f5e71602 100644 (file)
@@ -103,9 +103,9 @@ SELECT ST_MemSize(ST_collect(ST_Force2d(ST_force4d(ST_force3dm(ST_force3dz(ST_fo
 DROP TABLE test_data;
 
 
-SELECT '#3069', ST_Summary(PostGIS_Noop('SRID=4326;POINT(1 1)'));
+SELECT '#3069', ST_Summary(PostGIS_Noop('SRID=4326;POINT(1 1)'::geometry));
 SELECT '#3069', ST_Summary(PostGIS_Noop('SRID=4326;LINESTRING(1 1,0 0)'::geometry));
-SELECT '#3069', replace(ST_Summary(PostGIS_Noop('SRID=4326;MULTIPOINT(1 1)')),E'\n',' ');
+SELECT '#3069', replace(ST_Summary(PostGIS_Noop('SRID=4326;MULTIPOINT(1 1)')::geometry),E'\n',' ');
 SELECT '#3069', replace(ST_Summary(PostGIS_Noop('SRID=4326;MULTILINESTRING((1 1,0 0))'::geometry)),E'\n',' ');
 SELECT '#3069', replace(ST_Summary(PostGIS_Noop('SRID=4326;POLYGON((0 0, 0 1, 1 1 ,1 0,0 0))'::geometry)),E'\n',' ');