[postgis-tickets] [PostGIS] #2543: invalid join selectivity error from simple query

PostGIS trac at osgeo.org
Wed Nov 13 15:27:51 PST 2013


#2543: invalid join selectivity error from simple query
--------------------------+-------------------------------------------------
 Reporter:  paulfriedman  |       Owner:  pramsey      
     Type:  defect        |      Status:  new          
 Priority:  high          |   Milestone:  PostGIS 2.1.2
Component:  postgis       |     Version:  2.1.x        
 Keywords:                |  
--------------------------+-------------------------------------------------

Comment(by pramsey):

 There's nothing wrong with a join selectivity of 1.0, so probably it's
 actually 1.000000001, but we're not seeing that in the print out. In that
 spirit, I've attached a patch, see if things work (they will). Maybe it
 should test for "within a tolerance" of 1.0 and error out if it exceeds
 that, rather than blindly flooring the value.

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