Re: R-tree and start/end queries - Mailing list pgsql-sql

From Tom Lane
Subject Re: R-tree and start/end queries
Date
Msg-id 20223.1127331794@sss.pgh.pa.us
Whole thread Raw
In response to Re: R-tree and start/end queries  (Bruno Wolff III <bruno@wolff.to>)
List pgsql-sql
Bruno Wolff III <bruno@wolff.to> writes:
> There is a built in type for line segments that uses floating point. That
> will probably be usable by you directly unless the integers can can large
> enough that precision is a problem. There is an overlaps operator for the
> geometric types that could be used to answer your sample questions.

However, there's no built-in rtree opclass for that datatype, so he'd
still be stuck with respect to getting indexing support for overlaps
queries.

I think the contrib/seg datatype might help, though the precision issue
is still a possible problem.
        regards, tom lane


pgsql-sql by date:

Previous
From: "Dmitri Bichko"
Date:
Subject: Re: R-tree and start/end queries
Next
From: Matthew Peter
Date:
Subject: delete item[5] from varchar[] array???