Re: Strange code in initdb - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Strange code in initdb
Date
Msg-id 5599.1097608453@sss.pgh.pa.us
Whole thread Raw
In response to Strange code in initdb  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Shouldn't the second progname be argv[0] or something else that contains 
> the full path?

argv[0] doesn't necessarily contain the full path.  Is it worth calling
find_my_exec() here to produce an absolute path?  Possibly...
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Required permissions for data directory
Next
From: Andrew Dunstan
Date:
Subject: Re: Required permissions for data directory