pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Matthew <matthew@flymine.org>
Cc: pgsql-performance@postgresql.org
Subject: Re: GiST indexing tuples
Date: Wed, 28 Nov 2007 10:34:52 -0500
Message-ID: <245.1196264092@sss.pgh.pa.us> (raw)
In-Reply-To: <Pine.LNX.4.58.0711281305110.3731@aragorn.flymine.org>
References: <Pine.LNX.4.58.0711271811460.3731@aragorn.flymine.org>
	<20071127183855.GA22330@uio.no>
	<Pine.LNX.4.58.0711281305110.3731@aragorn.flymine.org>

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



view thread (9+ messages)  latest in thread

Message-ID: <245.1196264092@sss.pgh.pa.us>
Permalink:  ../245.1196264092@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/245.1196264092@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-performance@postgresql.org
  Cc: tgl@sss.pgh.pa.us, matthew@flymine.org
  Subject: Re: GiST indexing tuples
  In-Reply-To: <245.1196264092@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox