On Fri, 2011-01-07 at 08:21 +0000, Florian Weimer wrote:
> <http://www.postgresql.org/docs/8.4/static/xoper-optimization.html>
> 
> I'm wondering if one of these hint functions can be reused to compute
> range lengths.

Interesting idea.

However, I don't really see a way to make that work. These functions are
tied to the operator, so it would be awkward to try to connect it to the
GiST support functions. Also, it doesn't seem to be an exact fit,
because the RESTRICT function is used to compute the selectivity as of
right now using current statistics.

Regards,
        Jeff Davis


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to