<p>In the three state logic of true / false / unknown, null must be returned from such an operation.</p>
<p>As strk says null represents unknown, not empty.</p>
<div class="gmail_quote">On Sep 10, 2011 6:12 AM, "Sandro Santilli" <<a href="mailto:strk@keybit.net">strk@keybit.net</a>> wrote:<br type="attribution">> On Sat, Sep 10, 2011 at 3:08 PM, aperi2007 <<a href="mailto:aperi2007@gmail.com">aperi2007@gmail.com</a>> wrote:<br>
>> Hi,<br>>><br>>> using the postgis 2.00 svn ,<br>>><br>>> I notice that the<br>>> ST_Difference(geom,NULL)<br>>> will return NULL.<br>>><br>>> Instead<br>>> ST_Difference(geom, EMPTY)<br>
>> will return the "geom" geometry<br>>><br>>> Is this correct ?<br>> <br>> I think it is.<br>> NULL means "I don't know" while EMPTY means "I know it's nothing".<br>
> <br>> --strk;<br>> <br>> Free GIS & Flash consultant/developer<br>> <a href="http://strk.keybit.net/services.html">http://strk.keybit.net/services.html</a><br>> _______________________________________________<br>
> postgis-users mailing list<br>> <a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>> <a href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a><br>
</div>