Re: Relocatable locale

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Relocatable locale
Дата
Msg-id 200405261914.11887.peter_e@gmx.net
обсуждение исходный текст
Ответ на Relocatable locale  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: Relocatable locale  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-patches
Bruce Momjian wrote:
> I have two questions.  First, setlocale() seemed to be inconsistently
> set inside and outside of ENABLE_NLS.  I assume the proper location
> is inside.

No, in case of doubt it's outside.

>  Second, libpq has a locale setting for error messages,
> but a libpq program could be in any directory, so I see no way to
> make that relocatable.  Instead, I just use the hardcoded path.  I
> could make it relocatable, but that seems to error-prone, plus I
> would have to look up the exec path and stuff, and it seemed too
> complicated.

Hmm, so this says that a relocatable install isn't in fact possible?



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_ctl.c
Следующее
От: Chris Browne
Дата:
Сообщение: Re: tuning for AIX 5L with large memory