Re: Relocatable locale

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Relocatable locale
Дата
Msg-id 200405270326.i4R3QBP15180@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: Relocatable locale  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Tom Lane wrote:
> 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.

I figured our apps could use putenv to set the locale directory, and
users of other apps could set the environment variable before running
the app.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-patches по дате отправления:

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