Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group