Problem with GIST-index and timestamps

Started by Sebastian Böckalmost 21 years ago3 messagesgeneral
Jump to latest
#1Sebastian Böck
sebastianboeck@freenet.de

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?
How can i avoid or circumvent this?

Thanks in advance

Sebastian

#2Oleg Bartunov
oleg@sai.msu.su
In reply to: Sebastian Böck (#1)
Re: Problem with GIST-index and timestamps

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@postgresql.org

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

#3Sebastian Böck
sebastianboeck@freenet.de
In reply to: Oleg Bartunov (#2)
Re: Problem with GIST-index and timestamps

Oleg Bartunov wrote:

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.

Ok, so let me ask wether it's a bug or not.

How can i avoid or circumvent this?

partial index should works

Sure they do, but they're not quite useful in my situation.

Thanks

Sebastian