Skip site navigation (1) Skip section navigation (2)

Re: Relocatable locale

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>,PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: Relocatable locale
Date: 2004-05-26 17:14:11
Message-ID: (view raw, whole thread or download thread mbox)
Lists: 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?

In response to


pgsql-patches by date

Next:From: Bruce MomjianDate: 2004-05-26 18:24:20
Subject: Re: Bug in CVS pg_dump against 7.0.x
Previous:From: Andrew DunstanDate: 2004-05-26 17:08:57
Subject: Re: pg_ctl.c

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group