[postgis-devel] [PostGIS] #877: st_estimated_extent returns error on empty table

PostGIS trac at osgeo.org
Tue Mar 22 02:23:34 PDT 2011


#877: st_estimated_extent returns error on empty table
---------------------+------------------------------------------------------
 Reporter:  martins  |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  high     |   Milestone:  PostGIS 1.5.3
Component:  postgis  |     Version:  1.5.X        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by mcayland):

 I think the correct behaviour should be to mimic what "SELECT
 ST_Extent(foo) FROM table" returns on an empty table, and reduce the
 message to a WARNING.

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/877#comment:2>
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-devel mailing list