Re: [HACKERS] Numeric overflow problem + patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: David Fetter <david(at)fetter(dot)org>
Cc: PG Hackers <pgsql-hackers(at)postgresql(dot)org>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [HACKERS] Numeric overflow problem + patch
Date: 2006-09-28 21:11:43
Message-ID: 5577.1159477903@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

David Fetter <david(at)fetter(dot)org> writes:
> ! DETAIL: A field with precision 4, scale 4 must have an absolute value less than 1.
> [ becomes ]
> ! DETAIL: A field with precision 4, scale 4 must have an absolute value less than 1 - 5 * 10^-5.

This strikes me as overly pedantic. The message needs to be clear,
and the proposed change will just confuse people.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2006-09-28 21:11:56 Re: JAVA Support
Previous Message D'Arcy J.M. Cain 2006-09-28 21:07:10 Re: New version of money type

Browse pgsql-patches by date

  From Date Subject
Next Message Martijn van Oosterhout 2006-09-28 21:16:56 Re: [HACKERS] Numeric overflow problem + patch
Previous Message Martijn van Oosterhout 2006-09-28 19:37:07 Re: contrib/levenshtein() has a bug?