Re: Missing locale files according to psql - Mailing list pgsql-admin

From Tom Lane
Subject Re: Missing locale files according to psql
Date
Msg-id 19214.1411413528@sss.pgh.pa.us
Whole thread Raw
In response to Re: Missing locale files according to psql  (Peter Eisentraut <peter_e@gmx.net>)
List 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 by date:

Previous
From: "Ferrell, Denise CTR NSWCDD, Z11"
Date:
Subject: Removing a Database Server
Next
From: jayknowsunix@gmail.com
Date:
Subject: Re: Removing a Database Server