to_char(FM9.9) bug fix - Mailing list pgsql-patches

From Karel Zak
Subject to_char(FM9.9) bug fix
Date
Msg-id 20020919111458.A23671@zf.jcu.cz
Whole thread Raw
Responses Re: to_char(FM9.9) bug fix
List pgsql-patches
 The patch fix bug described in TODO:

 * to_char(0,'FM999.99') returns a period, to_char(1,'FM999.99') does not

 NOTE! Please, first apply Neil's patch with to_char() code clean up.


 Thanks

    Karel


test=# select to_char(0,'FM9.9');
 to_char
---------
 0.
(1 row)

test=# select to_char(1,'FM9.9');
 to_char
---------
 1.
(1 row)

--
 Karel Zak  <zakkr@zf.jcu.cz>
 http://home.zf.jcu.cz/~zakkr/

 C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

Attachment

pgsql-patches by date:

Previous
From: Karel Zak
Date:
Subject: Re: to_char() code cleanup
Next
From: Bruce Momjian
Date:
Subject: Re: to_char() code cleanup