[postgis-devel] [PostGIS] #818: ANALYZE does not override statistics on empty table

PostGIS trac at osgeo.org
Wed Jan 18 06:43:10 PST 2012


#818: ANALYZE does not override statistics on empty table
---------------------+------------------------------------------------------
 Reporter:  strk     |       Owner:  pramsey      
     Type:  defect   |      Status:  new          
 Priority:  medium   |   Milestone:  PostGIS 2.0.0
Component:  postgis  |     Version:  trunk        
 Keywords:           |  
---------------------+------------------------------------------------------

Comment(by strk):

 I see from PostgreSQL source code that our custom stats gathered is not
 even invoked if there are no rows, so the best we could do is reset the
 stats at the time of the typanalyze call.

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