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
Hmm, so this says that a relocatable install isn't in fact possible?
In response to
pgsql-patches by date
|Next:||From: Bruce Momjian||Date: 2004-05-26 18:24:20|
|Subject: Re: Bug in CVS pg_dump against 7.0.x|
|Previous:||From: Andrew Dunstan||Date: 2004-05-26 17:08:57|
|Subject: Re: pg_ctl.c|