[postgis-devel] [PostGIS] #520: No check for different srid on operators when index is used

PostGIS trac at osgeo.org
Tue Jun 28 12:10:02 PDT 2011


#520: No check for different srid on operators when index is used
----------------------+-----------------------------------------------------
  Reporter:  nicklas  |       Owner:  pramsey      
      Type:  defect   |      Status:  closed       
  Priority:  medium   |   Milestone:  PostGIS 2.0.0
 Component:  postgis  |     Version:  trunk        
Resolution:  fixed    |    Keywords:  history      
----------------------+-----------------------------------------------------
Changes (by nicklas):

  * keywords:  => history
  * status:  new => closed
  * resolution:  => fixed


Comment:

 Hallo

 I think Paul is right. The srid check is not there in the gserialized
 versions of the box comparing functions in file gserialized_gist_2d.c

 If I test the query in Pauls example above it passes in trunk version but
 gets caught in 1.5.

 I think this is the right behavior.

 Regina, when I tried your example it also passed in trunk both with and
 without index.

 So I close this one.

 I also put a history tag for slightly new behavior.


 Thanks
 Nicklas

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