[postgis-tickets] [PostGIS] #2298: ST_AsGML geography crashable with monkey inputs

PostGIS trac at osgeo.org
Sat May 4 07:17:33 PDT 2013


#2298: ST_AsGML geography crashable with monkey  inputs
---------------------+------------------------------------------------------
 Reporter:  robe     |       Owner:  colivier     
     Type:  defect   |      Status:  new          
 Priority:  blocker  |   Milestone:  PostGIS 2.1.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------
Changes (by robe):

  * owner:  pramsey => colivier
  * priority:  medium => blocker


Comment:

 for the record, this appears to be a new bug in 2.1.  I ran against 2.0
 and 2.0.3 doesn't even have this signature.


 {{{
 -- this run on 2.0.3  --
 SELECT ST_AsGML(2, geography(ST_Point(-1,20)),5,5, 'monkey', 'monkey' );

 -- gives notice --
 ERROR:  function st_asgml(integer, geography, integer, integer, unknown,
 unknown) does not exist
 LINE 1: SELECT ST_AsGML(2, geography(ST_Point(-1,20)),5,5, 'monkey',...
                ^
 HINT:  No function matches the given name and argument types. You might
 need to add explicit type casts.
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2298#comment:1>
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