Re: Index on geometry and timestamp

From: Werdin Jens <jens(dot)werdin(at)siemens(dot)com>
To: Pierre-Frédéric Caillaud <lists(at)boutiquenumerique(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Index on geometry and timestamp
Date: 2004-12-07 08:55:42
Message-ID: DB51EBFA5812D611B6200002A528BC27048C23FC@khes002a.khe1.siemens.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)boutiquenumerique(dot)com]
Gesendet: Dienstag, 7. Dezember 2004 09:48
An: Werdin Jens; pgsql-general(at)postgresql(dot)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
>

Browse pgsql-general by date

  From Date Subject
Next Message Postgres Learner 2004-12-07 09:17:58 Fwd: 8.0 vs. 7.4 benchmarks
Previous Message Pierre-Frédéric Caillaud 2004-12-07 08:47:56 Re: Index on geometry and timestamp