[postgis-devel] ST_Equals, immutable strict

strk strk at keybit.net
Tue Aug 31 05:24:06 PDT 2010


On Tue, Aug 31, 2010 at 12:30:39PM +0200, Nicklas Avén wrote:
> Hallo ST_Equals is marked as "immutable strict", other functions like ST_Intersects, ST_Within and so on is only marked "immutable" I guess that is why I have problems getting the index used for ST_Equals. Is there a reason for immutable strict on st_equals or is it a mistake? It is the same in trunk and 1.5.1  /Nicklas

STRICT means that if any argument is NULL, then the result
should also be NULL. Most likely ST_Intersects, ST_Within
and others should be marked as strict too.

--strk; 

  ()   Free GIS & Flash consultant/developer
  /\   http://strk.keybit.net/services.html



More information about the postgis-devel mailing list