Re: Relocatable locale - Mailing list pgsql-patches

From Peter Eisentraut
Subject Re: Relocatable locale
Date
Msg-id 200405261914.11887.peter_e@gmx.net
Whole thread Raw
In response to Relocatable locale  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: Relocatable locale
List 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 by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pg_ctl.c
Next
From: Chris Browne
Date:
Subject: Re: tuning for AIX 5L with large memory