]> granicus.if.org Git - postgis/commitdiff
part fix for #1860 ST_SRID not unique
authorRegina Obe <lr@pcorp.us>
Tue, 12 Jun 2012 08:29:27 +0000 (08:29 +0000)
committerRegina Obe <lr@pcorp.us>
Tue, 12 Jun 2012 08:29:27 +0000 (08:29 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9891 b70326c6-7e19-0410-871a-916f4a2858ee

regress/regress.sql

index 7d894bd707a3a85c173871df6162ce1245ee5c6f..e32c8692db03c5ce1e584e0f997993f7a65075a7 100644 (file)
@@ -247,7 +247,7 @@ select '150', ST_AsEWKT(ST_force_collection(ST_setsrid('POLYGON((0 0, 1 0, 1 1,
 
 select '151', ST_MakeEnvelope(0, 0, 1, 1, 4326);
 select '152', ST_SRID(ST_MakeEnvelope(0, 0, 1, 1, 4326));
-select '152.1', ST_SRID(ST_MakeEnvelope(0, 0, 1, 1)) = ST_SRID('POINT(0 0)');
+select '152.1', ST_SRID(ST_MakeEnvelope(0, 0, 1, 1)) = ST_SRID('POINT(0 0)'::geometry);
 select '152.2', ST_SRID(ST_SetSRID(ST_MakeEnvelope(0, 0, 1, 1), 4326));
 
 select '153', ST_AsText(ST_CollectionExtract('GEOMETRYCOLLECTION(POINT(0 0))',1));