Re: Relocatable locale

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: Relocatable locale
Дата
Msg-id 1316.24.211.141.25.1085626573.squirrel@www.dunslane.net
обсуждение исходный текст
Ответ на Re: Relocatable locale  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Relocatable locale  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: Relocatable locale  (Peter Eisentraut <peter_e@gmx.net>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Relocatable locale
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Relocatable locale