Re: [PATCHES] [BUGS] wrong behavior using to_char()

2007-02-12 Thread Bruce Momjian
Tom Lane wrote: Bruce Momjian [EMAIL PROTECTED] writes: Ultimately, the result was that glibc was wrong in its locale settings, and there was a suggestion to use defaults only when using the C locale. However, I am worried there are too many locales in the field that only define some of

Re: [PATCHES] [BUGS] wrong behavior using to_char()

2007-02-08 Thread Bruce Momjian
Euler Taveira de Oliveira wrote: Jorge Godoy wrote: In the pt_BR locale, the thousand separator is . So it should return The thousands separator in pt_BR is .. Oh, good catch. There is so much hack in my glibc. :-) I researched this thread:

Re: [PATCHES] [BUGS] wrong behavior using to_char()

2007-02-08 Thread Tom Lane
Bruce Momjian [EMAIL PROTECTED] writes: Ultimately, the result was that glibc was wrong in its locale settings, and there was a suggestion to use defaults only when using the C locale. However, I am worried there are too many locales in the field that only define some of the locale setting, so