<html>
<head>
<title></title>
<meta name="GENERATOR" content="MSHTML 8.00.6001.18939"></meta>
</head>
<body>
<div align="left"><br />
<br />
2010-08-31 strk wrote:<br />
<br />
On Tue, Aug 31, 2010 at 12:30:39PM +0200, Nicklas Avén wrote:<br />
>> 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<br />
><br />
>STRICT means that if any argument is NULL, then the result<br />
>should also be NULL. Most likely ST_Intersects, ST_Within<br />
>and others should be marked as strict too.<br />
><br />
>--strk; <br />
></div>
<div align="left"> </div>
<div align="left">Ok, but that seems to stop the index from working in st_equals. </div>
<div align="left">If I remove strict the index works as expected, but with strict it doesn't use the index.</div>
<div align="left"> </div>
<div align="left">/Nicklas</div>
</body>
</html>