Re: Strange code in initdb

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Strange code in initdb
Date: 2004-10-12 19:14:13
Message-ID: 5599.1097608453@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2004-10-12 19:18:20 Re: Required permissions for data directory
Previous Message Tom Lane 2004-10-12 19:09:42 Re: Required permissions for data directory