On Thu, 5 May 2005, Dave Held wrote:
>
>> but I doubt GiST will be happy if we make the datatype behave
>> that way...
>
> I guess it depends on why you want to take the difference. If
> you want to take some measure of distance, it might be useful
> to say that all infinite values of the same sign are at 0 distance
> from each other, in which case you would say that +w - +w = 0.
> Probably infinities of opposite signs should just be w apart
> (which is also mathematically consistent).
actually, it's timestamp_mi function rise the error which prevent
GiST index creation.
>
> __
> David B. Held
> Software Engineer/Array Services Group
> 200 14th Ave. East, Sartell, MN 56377
> 320.534.3637 320.253.7800 800.752.8129
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
> joining column's datatypes do not match
>
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