[postgis-devel] [PostGIS] #253: Gist causes wrong result from ~=

PostGIS trac at osgeo.org
Fri Oct 2 06:35:20 PDT 2009


#253: Gist causes wrong result from ~=
----------------------+-----------------------------------------------------
  Reporter:  nicklas  |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  medium   |   Milestone:  postgis 1.5.0
 Component:  postgis  |     Version:  1.4.X        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by robe):

 Here is the ST_OrderingEquals definition -- note that it too might be
 broken (without the recheck) if its inlined


 CREATE OR REPLACE FUNCTION st_orderingequals(geometry, geometry)
   RETURNS boolean AS
 $BODY$
         SELECT $1 && $2 AND $1 ~= $2
         $BODY$
   LANGUAGE 'sql' IMMUTABLE STRICT

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/253#comment:14>
PostGIS <http://trac.osgeo.org/postgis/>
PostGIS


More information about the postgis-devel mailing list