Re: [HACKERS] has anybody else used r-tree indexes in 6.5?

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jeff Hoffmann <jeff(at)remapcorp(dot)com>, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] has anybody else used r-tree indexes in 6.5?
Date: 1999-06-19 00:16:15
Message-ID: 199906190016.UAA06939@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> The right fix would be to put in an appropriate selectivity estimator,
> but we can't do that as a 6.5.* patch because changing pg_operator
> requires an initdb. It will have to wait for 6.6. (One of my to-do
> items for 6.6 was to rewrite the selectivity estimators anyway, so I'll
> see what I can do.) In the meantime, I think the only possible patch is
> to disable the error check in btreesel and have it return a default
> selectivity estimate instead of complaining. Drat.
>
> Apparently, none of the regression tests exercise rtree indexes at all,
> else we'd have known there was a problem. Adding an rtree regression test
> seems to be strongly indicated as well...

Sounds like a good fix. Bypass the system tables, since we can't change
them, and hard-wire a selectivity.

--
Bruce Momjian | http://www.op.net/~candle
maillist(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stupor Genius 1999-06-19 00:27:16 RE: [HACKERS] has anybody else used r-tree indexes in 6.5?
Previous Message Tom Lane 1999-06-18 23:35:43 Re: [HACKERS] has anybody else used r-tree indexes in 6.5?