[postgis-devel] ST_Equals, immutable strict

strk strk at keybit.net
Tue Aug 31 07:43:55 PDT 2010


On Tue, Aug 31, 2010 at 03:20:57PM +0200, Nicklas Avén wrote:
>
> 2010-08-31 strk wrote:
> > 
> >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.
>
> Ok, but that seems to stop the index from working in st_equals.
> If I remove strict the index works as expected, but with strict
> it doesn't use the index.

Are you sure you're not passing NULL arguments ?

--strk; 

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



More information about the postgis-devel mailing list