Re: Don't understand error?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: James David Smith <james(dot)david(dot)smith(at)gmail(dot)com>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: Don't understand error?
Date: 2014-04-14 13:58:35
Message-ID: 12434.1397483915@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

James David Smith <james(dot)david(dot)smith(at)gmail(dot)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

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message James David Smith 2014-04-14 14:02:27 Re: Don't understand error?
Previous Message James David Smith 2014-04-14 08:46:41 Don't understand error?