On Thu, Sep 28, 2006 at 11:16:56PM +0200, Martijn van Oosterhout wrote:
> On Thu, Sep 28, 2006 at 05:11:43PM -0400, Tom Lane wrote:
> > 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.
> 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,
Per your suggestion, how about this patch?
David Fetter <david(at)fetter(dot)org> http://fetter.org/
phone: +1 415 235 3778 AIM: dfetter666
Remember to vote!
In response to
pgsql-hackers by date
|Next:||From: ITAGAKI Takahiro||Date: 2006-10-02 01:52:48|
|Subject: Re: Another idea for dealing with cmin/cmax |
|Previous:||From: Andrew Dunstan||Date: 2006-10-02 00:23:00|
|Subject: Re: Win32 hard crash problem|
pgsql-patches by date
|Next:||From: Brendan Jurd||Date: 2006-10-02 03:13:58|
|Subject: ISO week dates|
|Previous:||From: Euler Taveira de Oliveira||Date: 2006-10-01 17:54:57|
|Subject: minor improvements in messages|