win Locales - "Arabic, Gum"

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема win Locales - "Arabic, Gum"
Дата
Msg-id iie82h$bs1$1@reversiblemaps.ath.cx
обсуждение исходный текст
Список pgsql-general
What's the deal with locale codes on windows.
especially the settings like LC_NUMERIC ansd LC_MONETARY

on windows XP in 9.0 "show LC_MONETARY" displays them as "Arabic, Bharain"
or "English, UK", "French, Canada"  but everything right of the comma
seems to be ignored. (resulting in incorrect currency display for the
money type in all the above). This is further evidenced by nonsense
locales like "Arabic, Gum" and "English, Spin" and "Frech, Toast" being
accepted by postgres.

fortunately  you can get the correct behaviour by using an '_' in
plase of ', ' (I note that the documentations says to use underscore)

"Arabic_Bharain", "English_UK", "French_Canada"

The windows installer (initdb?) isn't smart enough to do this when
creating template1, it uses ', ' which fails to select the correct locale
silently whilst appearing to the untrained eye to have worked :(

--
⚂⚃ 100% natural

В списке pgsql-general по дате отправления:

Предыдущее
От: hlcborg
Дата:
Сообщение: Re: Problem with encode () and hmac() in pgcrypto
Следующее
От: Thom Brown
Дата:
Сообщение: Re: Issues with generate_series using integer boundaries