View Single Post

   
  #5 (permalink)  
Old 04-19-2008, 10:42 AM
Tom Lane
 
Posts: n/a
Default Re: GiST indexing tuples

Matthew <matthew@flymine.org> writes:
>> This sounds like something an R-tree can do.


> I *know* that. However, Postgres (as far as I can see) doesn't provide a
> simple R-tree index that will index two integers. This means I have to
> write one myself. I'm asking whether it is possible to get two values into
> a GiST index, which would allow me to implement this.


Have you looked at contrib/seg/ ?

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

http://www.postgresql.org/about/donate

Reply With Quote