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: 200405261914.11887.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-patches by date

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