Re: Default locale in postgres

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Default locale in postgres
Дата
Msg-id 773.1531506368@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Default locale in postgres  (Debraj Manna <subharaj.manna@gmail.com>)
Ответы Re: Default locale in postgres  (Debraj Manna <subharaj.manna@gmail.com>)
Список pgsql-admin
Debraj Manna <subharaj.manna@gmail.com> writes:
> Can someone let me know if I am not passing any locale while doing initdb
> what locale (Collate & Ctype) will postgres 9.5.4 pick?

Whatever is the prevailing default in initdb's environment ---
see LANG and LC_XXX environment variables.

If none of those are set, I imagine it'll fall back to C locale,
though this choice is possibly dependent on your local libc.
"man locale" might be informative.

            regards, tom lane


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

Предыдущее
От: Debraj Manna
Дата:
Сообщение: Default locale in postgres
Следующее
От: Debraj Manna
Дата:
Сообщение: Re: Default locale in postgres