Re: [BUGS] wrong behavior using to_char()
От | Bruce Momjian |
---|---|
Тема | Re: [BUGS] wrong behavior using to_char() |
Дата | |
Msg-id | 200702130201.l1D21Ju24541@momjian.us обсуждение исходный текст |
Ответ на | Re: [BUGS] wrong behavior using to_char() (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-patches |
Tom Lane wrote: > 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? Seems there is no interest in handling this specific case, so I withdraw the patch, but I have added a comment with a date in case we need to revisit it. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://www.enterprisedb.com + If your life is a hard drive, Christ can be your backup. +
В списке pgsql-patches по дате отправления: