BUG #1923: infinity arithmetic errors

From: "Sorin Schwimmer" <sxn02(at)yahoo(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1923: infinity arithmetic errors
Date: 2005-09-29 16:54:49
Message-ID: 20050929165449.78691F11C4@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1923
Logged by: Sorin Schwimmer
Email address: sxn02(at)yahoo(dot)com
PostgreSQL version: 8.0.2
Operating system: Gentoo Linux 2005
Description: infinity arithmetic errors
Details:

Hi,

I was able to store in tables Infinity values. The problem arise when I try
to add something there, when I end up with an error:

ERROR: type "double precision" value out of range: overflow

I'd like to suggest to allow for the usual:
Inf+number=Inf
Inf-number=Inf
Inf*number=Inf
Inf/number=Inf
number/Inf=0 ...

Thanks,

Sorin Schwimmer

Browse pgsql-bugs by date

  From Date Subject
Next Message Magnus Hagander 2005-09-29 17:35:45 Re: BUG #1920: Installer no WIN1252 & UTF8 selection
Previous Message Sorin Schwimmer 2005-09-29 16:47:37 BUG #1922: bit string of calculated length