Re: Relocatable locale - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Relocatable locale
Date
Msg-id 200405250153.i4P1rZr01946@candle.pha.pa.us
Whole thread Raw
In response to Re: Relocatable locale  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Relocatable locale
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > OK, patch applied.  Turns out it was only added for the backend
> > ("postgres").
>
> Hm?  Isn't that code going to be executed in postmaster, bootstrap,
> checkpoint processes, etc etc?
>
> I don't really believe that path.c has any business doing this at
> all, in any program.

Well, all our client apps used to do it in their own code.  Now they
call set_pglocale to do it centrally and relocabably.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: Relocatable locale
Next
From: Tom Lane
Date:
Subject: Re: Relocatable locale