[postgis-tickets] [PostGIS] #3015: TopologySummary raises exception on missing schema

PostGIS trac at osgeo.org
Tue Jan 20 09:36:24 PST 2015


#3015: TopologySummary raises exception on missing schema
----------------------+-----------------------------------------------------
 Reporter:  strk      |       Owner:  strk         
     Type:  defect    |      Status:  new          
 Priority:  medium    |   Milestone:  PostGIS 2.1.6
Component:  topology  |     Version:  2.1.x        
 Keywords:            |  
----------------------+-----------------------------------------------------
 I think TopologySummary function should never raise an exception.
 It does if the named schema does not exist.
 If the topology name is found in topology.topology but the schema is
 missing it raises:
 {{{
 ERROR:  Got relation "topotest.relation" does not exist (42P01)
 }}}

 If there's not even a record in topology.topology it raises:
 {{{
 ERROR:  Got query string argument of EXECUTE is null (22004)
 }}}

 This is with PostgreSQL 9.3.4, dunno if it was different before (as I'm
 pretty sure I made some effort to avoid these cases)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3015>
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