Re: [BUGS] wrong behavior using to_char()
От | Tom Lane |
---|---|
Тема | Re: [BUGS] wrong behavior using to_char() |
Дата | |
Msg-id | 14701.1170995351@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: [BUGS] wrong behavior using to_char() (Bruce Momjian <bruce@momjian.us>) |
Ответы |
Re: [BUGS] wrong behavior using to_char()
|
Список | pgsql-patches |
Bruce Momjian <bruce@momjian.us> 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 doing defaults only for the C > locale might not work. > The minimal patch I wrote (attached), suppresses the default for the > thousands separator only if is is the same as the decimal separator. I > think this is the only area where the default could potentially match > the locale setting for another field. Should we really go introducing strange misbehaviors into our code to work around an admitted glibc bug? regards, tom lane
В списке pgsql-patches по дате отправления: