Locale support is now on by default

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Locale support is now on by default
Дата
Msg-id Pine.LNX.4.30.0204030044080.686-100000@peter.localdomain
обсуждение исходный текст
Ответы Re: Locale support is now on by default  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
The determination of locale is now done as follows:

collate/ctype:

initdb --lc-collate, initdb --locale, LC_ALL, LC_COLLATE, LANG

messages/monetary/numeric/time:

Have GUC variables lc_messages, etc.  The default is "", which means to
inherit from the environment (or whatever setlocale() does with it).
However, initdb will initialize postgresql.conf containing assignments to
these variables determined as with collate/ctype above.  So the "real"
defaults are consistent with collate/ctype.

initdb --no-locale is the same as initdb --locale=C, for convenience.

Let's see if these rules end up making sense to everybody.

-- 
Peter Eisentraut   peter_e@gmx.net



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

Предыдущее
От: "Christopher Kings-Lynne"
Дата:
Сообщение: Odd psql \i behaviour
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Locale support is now on by default