Re: Relocatable locale - Mailing list pgsql-patches

From Andrew Dunstan
Subject Re: Relocatable locale
Date
Msg-id 1316.24.211.141.25.1085626573.squirrel@www.dunslane.net
Whole thread Raw
In response to Re: Relocatable locale  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Relocatable locale
Re: Relocatable locale
List pgsql-patches
Tom Lane said:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
>> I think the best we can do is putenv() for our apps, and document the
>> variable for other apps.
>
> Document what?  How will another app find libpq's locale file?
> AFAICS *it can't*.  Documenting a useless variable is not a solution.
>

You wouldn't expect the environment var to be set by an app in those
cases - it would be set by a sysadmin or an installer on a system-wide
basis when pg is installed in other than the hardcoded location. At least,
that's the way I understood Bruce's suggestion.

cheers

andrew



pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Relocatable locale
Next
From: Bruce Momjian
Date:
Subject: Re: Relocatable locale