Tom Lane wrote:
> Bruce Momjian <[EMAIL PROTECTED]> writes:
> > But they all use the app name of "postgres".  They always did.
> 
> Oh!  Sorry, I'm barking up the wrong tree then.  I was thinking you were
> looking at the exec_path.

Nope, hard-coded, as they all are.  I could pull from argv[0], but that
doesn't work in too many cases.  The main.c call is:

    set_pglocale(argv[0], "postgres");

and is the same no matter what is coming through main.c.

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

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to