> Tom Lane wrote:
> > Bruce Momjian <[EMAIL PROTECTED]> 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.

There's also the possibility of adding it to read/write_backend_variables,
just as we add other variables for fork/exec that we want the backends to
inherit.

Cheers,
Claudio

--- 
Certain disclaimers and policies apply to all email sent from Memetrics.
For the full text of these disclaimers and policies see 
<a
href="http://www.memetrics.com/emailpolicy.html";>http://www.memetrics.com/em
ailpolicy.html</a>

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

Reply via email to