Re: Missing locale files according to psql

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: jayknowsunix(at)gmail(dot)com, "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Missing locale files according to psql
Date: 2014-09-22 19:18:48
Message-ID: 19214.1411413528@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> On 9/22/14 2:08 PM, jayknowsunix(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message jayknowsunix 2014-09-22 19:37:02 Re: Removing a Database Server
Previous Message Ferrell, Denise CTR NSWCDD, Z11 2014-09-22 18:59:15 Removing a Database Server