[postgis-devel] [PostGIS] #1828: Estimate returned by geography_gist_selectivity results in slow query plan for ST_DWithin

PostGIS trac at osgeo.org
Thu May 17 03:08:15 PDT 2012


#1828: Estimate returned by geography_gist_selectivity results in slow query plan
for ST_DWithin
---------------------------+------------------------------------------------
 Reporter:  realityexists  |       Owner:  pramsey      
     Type:  defect         |      Status:  new          
 Priority:  medium         |   Milestone:  PostGIS 2.0.1
Component:  postgis        |     Version:  2.0.x        
 Keywords:                 |  
---------------------------+------------------------------------------------

Comment(by realityexists):

 Something unrelated I noticed while investigating this: line 1551 in
 lwgeodetic.c says
 {{{
         if ( pa1->npoints == 0 || pa1->npoints == 0 )
 }}}
 Is that meant to be
 {{{
         if ( pa1->npoints == 0 || pa2->npoints == 0 )
 }}}
 ?

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