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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Bruce Momjian <pgman(at)candle(dot)pha(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:01:01
Message-ID: 20070.1084996861@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-patches

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?

regards, tom lane

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2004-05-19 20:07:15 Re: [COMMITTERS] pgsql-server/src backend/main/main.c backend/p
Previous Message Bruce Momjian 2004-05-19 19:39:27 pgsql-server/src/backend/tcop postgres.c

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-05-19 20:07:15 Re: [COMMITTERS] pgsql-server/src backend/main/main.c backend/p
Previous Message Bruce Momjian 2004-05-19 19:39:05 Re: [COMMITTERS] pgsql-server/src backend/main/main.c backend/p