Re: Enhanced containment selectivity function

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Matteo Beccati <php(at)beccati(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Enhanced containment selectivity function
Date: 2005-08-04 15:12:58
Message-ID: 15936.1123168378@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Matteo Beccati <php(at)beccati(dot)com> writes:
> This also made me think: is there a reason why geometric selectivity
> functions return constant values rather than checking statistics for a
> better result?

Because no one's ever bothered to work on them. You should talk to
the PostGIS guys, however, because they *have* been working on real
statistics and real estimation functions for geometric types. It'd
be nice to get some of that work back-ported into the core database.

http://www.postgis.org/

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mark Woodward 2005-08-04 15:16:02 Re: Solving the OID-collision problem
Previous Message Tom Lane 2005-08-04 14:55:21 Re: Solving the OID-collision problem

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-08-04 15:49:55 Re: Enhanced containment selectivity function
Previous Message Tom Lane 2005-08-04 14:46:24 Re: prevent encoding conversion recursive error