[postgis-devel] ST_Equals, immutable strict

Paragon Corporation lr at pcorp.us
Tue Aug 31 09:47:30 PDT 2010


Guys,

We had this discussion before.  Its all documented in this ticket.

http://trac.osgeo.org/postgis/ticket/536

I must have missed this function when fixing some of the others with the
same issue.

Nicklas, 

Can you go ahead and take out the STRICT and backport the fix to 1.5 branch.

Thanks,
Regina

 

-----Original Message-----
From: postgis-devel-bounces at postgis.refractions.net
[mailto:postgis-devel-bounces at postgis.refractions.net] On Behalf Of strk
Sent: Tuesday, August 31, 2010 10:44 AM
To: PostGIS Development Discussion
Subject: Re: [postgis-devel] ST_Equals, immutable strict

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
_______________________________________________
postgis-devel mailing list
postgis-devel at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-devel





More information about the postgis-devel mailing list