Re: Relocatable locale

From: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
To: <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Relocatable locale
Date: 2004-05-27 02:56:13
Message-ID: 1316.24.211.141.25.1085626573.squirrel@www.dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Tom Lane said:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)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

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-05-27 03:26:11 Re: Relocatable locale
Previous Message Tom Lane 2004-05-27 02:45:15 Re: Relocatable locale