API for optimized predicates (was Re: [postgis-devel] 1.3.3)

Mark Leslie mark.leslie at lisasoft.com
Wed Apr 2 15:56:38 PDT 2008


Mark Leslie wrote:
> ST_Contains(geometry, geometry, integer) is defined as 'isstrict'.  This 
> is a PostgreSQL optimization that will cause the function to return null 
> anytime any argument is null.
> 
> I'm sure it's screaming fast though.
> 

Sorry, I didn't get that quite right.  ST_Contains is not strict, but it 
calls _ST_ContainsPrepared which is.

-- 
Mark Leslie
Geospatial Software Architect
LISAsoft Pty Ltd
+61 (0)2 8570 5050

Commercial Support for Geospatial Open Source Software
http://www.lisasoft.com/LISAsoft/SupportedProducts.html




More information about the postgis-devel mailing list