Re: rtree_gist work

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: rtree_gist work
Дата
Msg-id 4798.1120313989@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: rtree_gist work  ("Janko Richter" <jankorichter@yahoo.de>)
Ответы Re: rtree_gist work  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: rtree_gist work  ("Janko Richter" <jankorichter@yahoo.de>)
Re: rtree_gist work  (Greg Stark <gsstark@mit.edu>)
Список pgsql-hackers
Janko Richter <jankorichter@yahoo.de> writes:
> Tom Lane wrote:
>> What changes have you got in mind exactly?

> At first, I would implement all RTREE supported operators in GIST.
> Then, the GIST implementation may be a full replacement/alternative for RTREE.

That's already done.

> Futhermore, I would implement all relationship operators, which are unsupported
> in RTREE using GIST. As a consequence, the TODO item:
> - Add rtree index support for line, lseg, path, point
> can be marked as "done".

I'm not sure that you want to think of this as a direct copy of "what
rtree would do".  The set of interesting operators isn't really the same
for all these types ... which was hard or impossible to support in rtree
but is trivial in GIST.  As an example, contains/contained in are pretty
meaningless for two points; but it would be very useful to directly
support queries like "point is contained in box?", "point is contained
in circle?" on a point column.  There are some cross-type operators like
these that ought to be added to the existing opclasses as well.  So I
think the first part of the job is to figure out exactly what operators
to support for each datatype.

(The TODO item as written is pretty much a dead letter anyway: nobody
is going to do any more work on rtree.  It should probably read "add
more gist index support for geometric data types".)
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Janko Richter"
Дата:
Сообщение: Re: rtree_gist work
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: rtree_gist work