[postgis-tickets] [PostGIS] #2552: [raster] ST_AsPNG and related fail on NULL raster
PostGIS
trac at osgeo.org
Tue Nov 26 11:31:51 PST 2013
#2552: [raster] ST_AsPNG and related fail on NULL raster
-----------------------+----------------------------------------------------
Reporter: dustymugs | Owner: dustymugs
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.5
Component: raster | Version: 2.0.x
Keywords: |
-----------------------+----------------------------------------------------
{{{
SELECT ST_AsPNG(null::raster)
ERROR: upper bound of FOR loop cannot be null
CONTEXT: PL/pgSQL function st_aspng(raster,text[]) line 20 at FOR with
integer loop variable
********** Error **********
ERROR: upper bound of FOR loop cannot be null
SQL state: 22004
Context: PL/pgSQL function st_aspng(raster,text[]) line 20 at FOR with
integer loop variable
}}}
Correct response should be NULL
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2552>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list