Re: Index on geometry and timestamp - Mailing list pgsql-general

From Werdin Jens
Subject Re: Index on geometry and timestamp
Date
Msg-id DB51EBFA5812D611B6200002A528BC27048C23FC@khes002a.khe1.siemens.de
Whole thread Raw
In response to Index on geometry and timestamp  (Werdin Jens <jens.werdin@siemens.com>)
List pgsql-general
The Problem is, that I need the milliseconds and the information of the
Timezone.

-----Ursprüngliche Nachricht-----
Von: Pierre-Frédéric Caillaud [mailto:lists@boutiquenumerique.com]
Gesendet: Dienstag, 7. Dezember 2004 09:48
An: Werdin Jens; pgsql-general@postgresql.org
Betreff: Re: [GENERAL] Index on geometry and timestamp



    You could convert your timestamp into an integer (number of seconds
since
the epoch).
    Also, under certain conditions, you can cheat and use a sequence
instead
of a timestamp.

>
> Hi,
> I need an index on a postgis-point and a timestamp.
> I'm using an GiST index on the geometry. But the creation of an GiST
> index
> on geometry and timestamp seems to be impossible, because GiST doesn't
> support Timestamps.
> Is there a possibility to solve my problem?
>
> Greetings
> Jens
>


pgsql-general by date:

Previous
From: Pierre-Frédéric Caillaud
Date:
Subject: Re: Index on geometry and timestamp
Next
From: Postgres Learner
Date:
Subject: Fwd: 8.0 vs. 7.4 benchmarks