Re: Don't understand error?

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

Good tip. Thanks. I don't think there are many values stored like
that, so it should make it a bit easier to find.

On 14 April 2014 15:24, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> James David Smith <james(dot)david(dot)smith(at)gmail(dot)com> writes:
>> Yes, I thought the same. Glad to know that I might be along the right
>> lines. I've started taking parameters out one-by-one to try and find
>> the culprit. Yes, there are a variety of numbers stored as NUMERIC in
>> various places. For example:
>
> AFAIR, there is no such thing as an underflow error in the type-NUMERIC
> code --- it will happily round to zero instead. You should be looking for
> something involving float4 or float8 (aka real/double precision).
>
> regards, tom lane

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message ss dev 2014-04-14 20:40:50 Re: Images stored in bytea datatype
Previous Message Tom Lane 2014-04-14 14:24:19 Re: Don't understand error?