Re: Problem with GIST-index and timestamps

From: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
To: Sebastian Böck <sebastianboeck(at)freenet(dot)de>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Problem with GIST-index and timestamps
Date: 2005-04-28 18:43:32
Message-ID: Pine.GSO.4.62.0504282240010.4489@ra.sai.msu.su
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, 28 Apr 2005, [ISO-8859-1] Sebastian B?ck wrote:

> Hello,
>
> i wanted to define and GIST-index on a table with a timestamp-column
> containing 'infinity' values, and it throws the following error:
>
> ERROR: cannot subtract infinite timestamps
>
> Is this a known limitation?

I don't know.

> How can i avoid or circumvent this?

partial index should works

>
> Thanks in advance
>
> Sebastian
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
>

Regards,
Oleg
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2005-04-28 18:48:09 Re: Returning a RECORD, not SETOF RECORD
Previous Message Steve Atkins 2005-04-28 18:40:33 Re: temp tables ORACLE/PGSQL