Re: to_char(FM9.9) bug fix

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
Cc: pgsql-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: to_char(FM9.9) bug fix
Date: 2002-09-20 03:57:10
Message-ID: 200209200357.g8K3vAb11327@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Patch applied. Thanks.

TODO item marked as completed.

---------------------------------------------------------------------------

Karel Zak wrote:
>
> 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(at)zf(dot)jcu(dot)cz>
> http://home.zf.jcu.cz/~zakkr/
>
> C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Mike Mascari 2002-09-20 04:01:49 Re: Win32 rename()/unlink() questions
Previous Message Bruce Momjian 2002-09-20 03:54:21 Re: please apply patch to contrib/ltree

Browse pgsql-patches by date

  From Date Subject
Next Message Kris Jurka 2002-09-20 05:19:46 Re: JDBC Driver - Schema Awareness
Previous Message Bruce Momjian 2002-09-20 03:55:36 Re: make_greater_string busted