]> granicus.if.org Git - postgis/commitdiff
cast null to geometry
authorRegina Obe <lr@pcorp.us>
Sun, 16 Aug 2009 05:29:56 +0000 (05:29 +0000)
committerRegina Obe <lr@pcorp.us>
Sun, 16 Aug 2009 05:29:56 +0000 (05:29 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4408 b70326c6-7e19-0410-871a-916f4a2858ee

doc/xsl/postgis_gardentest_subset.sql.xsl

index e27fdc2ac59ed511ef3e2a1b1a378d2928fb8cf8..6ce800015f899d57fe373ab499f372ae0851c1c8 100644 (file)
                )\r
                </pgis:gset>\r
 \r
-               <pgis:gset ID="NULL" GeometryType="GEOMETRY">(SELECT Null As the_geom)\r
+               <pgis:gset ID="NULL" GeometryType="GEOMETRY">(SELECT CAST(Null As geometry) As the_geom)\r
                </pgis:gset>\r
 \r
                <pgis:gset ID='CurvePolySet' GeometryType='CURVEPOLYGON'>(SELECT ST_LineToCurve(ST_Buffer(ST_SetSRID(ST_Point(i,j),4326), j))  As the_geom\r