| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера