Re: [HACKERS] The notorious to_char bug

2002-09-18 Thread Jonah H. Harris
f Tom Lane Sent: Wednesday, September 18, 2002 9:12 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [HACKERS] The notorious to_char bug [EMAIL PROTECTED] writes: > (From the SQL list:) >> And we know it is a bug: >> * to_char(0,'FM999.99') returns a period, to_char(1,

Re: [HACKERS] The notorious to_char bug

2002-09-18 Thread Tom Lane
[EMAIL PROTECTED] writes: > (From the SQL list:) >> And we know it is a bug: >> * to_char(0,'FM999.99') returns a period, to_char(1,'FM999.99') does not > I took a look at this bug a week ago, and noticed that inside of the file > src/backend/utils/adt/formatting.c > we are specifically causing

[HACKERS] The notorious to_char bug

2002-09-18 Thread greg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 (From the SQL list:) > And we know it is a bug: > * to_char(0,'FM999.99') returns a period, to_char(1,'FM999.99') does not I took a look at this bug a week ago, and noticed that inside of the file src/backend/utils/adt/formatting.c we are specif