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

Re: [COMMITTERS] pgsql-server/src backend/main/main.c backend/p

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql-server/src backend/main/main.c backend/p
Date: 2004-05-19 20:07:15
Message-ID: 200405192007.i4JK7Fw28776@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-committerspgsql-patches
Tom Lane wrote:
> Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> > Tom Lane wrote:
> >> Also, in the non-exec case it seems unnecessary and possibly unsafe to
> >> repeat this computation in a backend.
> 
> > Thanks.  It originally was as below and I forgot about that.  It now is:
> >     if (my_exec_path[0] == '\0' && find_my_exec(argv[0], my_exec_path) < 0)
> > The issue is that fork/exec will need to set it too.
> 
> That fixes it for my_exec_path, but what of the pkglib_path stuff?

OK, I will fix that one, though it is a cheap call.

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

In response to

pgsql-committers by date

Next:From: Bruce MomjianDate: 2004-05-19 21:09:54
Subject: pgsql-server/doc TODO
Previous:From: Tom LaneDate: 2004-05-19 20:01:01
Subject: Re: [COMMITTERS] pgsql-server/src backend/main/main.c backend/p

pgsql-patches by date

Next:From: Thomas HallgrenDate: 2004-05-19 21:11:35
Subject: Re: Configuration parameters for plugin modules
Previous:From: Tom LaneDate: 2004-05-19 20:01:01
Subject: Re: [COMMITTERS] pgsql-server/src backend/main/main.c backend/p

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