Re: Don't understand error? - Mailing list pgsql-novice

From Tom Lane
Subject Re: Don't understand error?
Date
Msg-id 12434.1397483915@sss.pgh.pa.us
Whole thread Raw
In response to Don't understand error?  (James David Smith <james.david.smith@gmail.com>)
Responses Re: Don't understand error?
List pgsql-novice
James David Smith <james.david.smith@gmail.com> writes:
> When I run my SQL for 50 people it's fine. 1 person is fine. A
> thousand people it's fine. But when I try and run it for the whole
> dataset I'm given this error:

> ERROR: value out of range: underflow
> ****************Error *******************
> Error: Value out of range: underflow
> SQL state: 22003

This looks like an arithmetic problem not a SQL problem.  Is your
calculation working with very small floating-point values anywhere?

            regards, tom lane


pgsql-novice by date:

Previous
From: James David Smith
Date:
Subject: Don't understand error?
Next
From: James David Smith
Date:
Subject: Re: Don't understand error?