Re: Missing locale files according to psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Missing locale files according to psql
Дата
Msg-id 19214.1411413528@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Missing locale files according to psql  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-admin
Peter Eisentraut <peter_e@gmx.net> writes:
> On 9/22/14 2:08 PM, jayknowsunix@gmail.com wrote:
>> Ok, enough, but if they're not included in the PostgreSQL rpm, why does psql look for them?

> This is how locales work, independent of PostgreSQL or psql.  You set a
> locale in the environment, the operating system looks if locale
> information files are installed, and if not in proceeds with a fallback.

Perhaps more to the point: there is a defined search path that libc is
supposed to follow when looking to see if there is a messages file for
the application.  It does not know in advance whether the app has a
messages file or exactly where in the path it'll be located.

            regards, tom lane


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

Предыдущее
От: "Ferrell, Denise CTR NSWCDD, Z11"
Дата:
Сообщение: Removing a Database Server
Следующее
От: jayknowsunix@gmail.com
Дата:
Сообщение: Re: Removing a Database Server