<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
David Blasby schrieb:<br>
<blockquote type="cite" cite="mid3DC6B204.E945DC2B@refractions.net">
<pre wrap="">Guido Staub wrote:
</pre>
<blockquote type="cite">
<pre wrap="">aren't operators like &<, &>, >>, << implemented yet for GiST-Index Scan?
Trying a query with them and using explain I always get as result that
seq scan will be used and not index scan
</pre>
</blockquote>
<pre wrap=""><!---->
It should be indexed. Try typing this before your query:
'set enable_seqscan =off;'
This forces the postgresql planner to use the index. Postgresql is usually
pretty bad a determining when to use the GiST index, hence all the traffic on
histogram2ds to optimize use of the index with the "&&" operator
dave
_______________________________________________
postgis-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>
<a class="moz-txt-link-freetext" href="http://postgis.refractions.net/mailman/listinfo/postgis-users">http://postgis.refractions.net/mailman/listinfo/postgis-users</a>
</pre>
</blockquote>
Now it works. Thanks.<br>
But can you please give an example on how to use histogram2ds?<br>
<br>
</body>
</html>