Re: Numeric overflow problem + patch
От | Martijn van Oosterhout |
---|---|
Тема | Re: Numeric overflow problem + patch |
Дата | |
Msg-id | 20060928211656.GE16473@svana.org обсуждение исходный текст |
Ответ на | Re: Numeric overflow problem + patch (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Numeric overflow problem + patch
Re: Numeric overflow problem + patch |
Список | pgsql-hackers |
On Thu, Sep 28, 2006 at 05:11:43PM -0400, Tom Lane wrote: > David Fetter <david@fetter.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. I don't know if the code can detect the difference, but a message like: A field with precision 4, scale 4 must *round to* an absolute value less than 1 Since that more accurately describes the actual problem. Have a ncie day, -- Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to litigate.
В списке pgsql-hackers по дате отправления: