Re: regression test failure in CVS HEAD - Mailing list pgsql-hackers

From Karel Zak
Subject Re: regression test failure in CVS HEAD
Date
Msg-id 20020923083933.A7293@zf.jcu.cz
Whole thread Raw
In response to Re: regression test failure in CVS HEAD  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
On Fri, Sep 20, 2002 at 01:12:17PM -0400, Bruce Momjian wrote:
> 
> Tom has fixed it.  Sorry I didn't test earlier.
Thanks.

> Neil Conway wrote:
> > It seems the 'numeric' and 'int8' tests are failing in CVS HEAD. The
> > culprit seems to be the recent to_char() change made by Karel, but I
> > haven't verified that. The diff follows.
You're right. Sorry.

> >   SELECT '' AS to_char_14, to_char(q2, 'FM9999999999999999.999') FROM INT8_TBL;
> >    to_char_14 |      to_char       
> > ! ------------+--------------------
> > !             | 456.
> > !             | 4567890123456789.
> > !             | 123.
> > !             | 4567890123456789.
> > !             | -4567890123456789.

The results like this are right.
   Karel

-- Karel Zak  <zakkr@zf.jcu.cz>http://home.zf.jcu.cz/~zakkr/C, PostgreSQL, PHP, WWW, http://docs.linux.cz,
http://mape.jcu.cz


pgsql-hackers by date:

Previous
From: "Shridhar Daithankar"
Date:
Subject: Re: Improving speed of copy
Next
From: Karel Zak
Date:
Subject: Re: [PATCHES] to_char(FM9.9) bug fix