Re: Relocatable locale - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Relocatable locale
Date
Msg-id 200405250247.i4P2lV527003@candle.pha.pa.us
Whole thread Raw
In response to Re: Relocatable locale  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Relocatable locale  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > But I added code to path.c to skip that if the app is "postgres".  Why
> > doesn't that work?
>
> That will work fine ... for a standalone backend.  Not so fine for
> postmaster or bootstrap or other cases that go through main.c.

But they all use the app name of "postgres".  They always did.

That is not 'progname' but a hardcoded appname that is used in the
main.c call.

--
  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