[postgis-devel] [PostGIS] #536: Get rid of the STRICT on geography ST_Intersects

PostGIS trac at osgeo.org
Wed Jun 2 05:36:59 PDT 2010


#536: Get rid of the STRICT on geography ST_Intersects
----------------------+-----------------------------------------------------
  Reporter:  robe     |       Owner:  pramsey      
      Type:  defect   |      Status:  new          
  Priority:  high     |   Milestone:  PostGIS 1.5.2
 Component:  postgis  |     Version:  1.5.X        
Resolution:           |    Keywords:               
----------------------+-----------------------------------------------------
Comment (by anarazel):

 I read this bug via Reginas Blog and can explain the issue at least a bit.
 There are several conditions causing strict functions to fail:

  * it uses other, non-strict functions. If it would get the strictness
 would get lost. Imageine a unstrict function add(a, b) := coalesce(a, 0) +
 coalesce(b, 0) and strict strict_add(a, b) := add(a,b). If strict_add()
 would get inlined the promise of it returning NULL if any of its
 parameters are NULL does not hold true anymore.

  * some of the parameters are not used at all. Example: strict func_a(a,
 b) := a. If that would get inlined the definition would change.


 Those conditions are *completely* orthogonal to those imposed by
 volatility - which imposes a different set of constraints.

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