From: Tom Lane <tgl@sss.pgh.pa.us>
To: Chris Cheston <ccheston@gmail.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: How to create an index for type timestamp column using rtree?
Date: Tue, 13 Jul 2004 02:14:57 -0400
Message-ID: <11800.1089699297@sss.pgh.pa.us> (raw)
In-Reply-To: <e071108e040712225174cda991@mail.gmail.com>
References: <e071108e040712225174cda991@mail.gmail.com>
Chris Cheston <ccheston@gmail.com> writes:
> I'm storing some timestamps as integers (UTF) in a table and I want to
> query by <= and >= for times between a certain period.
btree can handle range queries nicely; why do you think you need an
rtree? rtree is for 2-dimensional datums which a timestamp is not ...
regards, tom lane
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, ccheston@gmail.com
Subject: Re: How to create an index for type timestamp column using rtree?
In-Reply-To: <11800.1089699297@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