Re: Strange issue with initdb on 8.0 and Solaris automounts

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David Parker" <dparker(at)tazznetworks(dot)com>
Cc: "Kenneth Lareau" <elessar(at)numenor(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Strange issue with initdb on 8.0 and Solaris automounts
Date: 2005-01-27 23:22:18
Message-ID: 21723.1106868138@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"David Parker" <dparker(at)tazznetworks(dot)com> writes:
> Did initdb previously just assume the -D path existed, and now it is
> trying to create the whole path, if necessary?

Pre-8.0 it was using mkdir(1), which might possibly contain some weird
workaround for this case on Solaris.

I suppose that manually creating the data directory before running
initdb would also avoid this issue, since the mkdir(2) loop is only
entered if we don't find the directory in existence.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Oliver Jowett 2005-01-27 23:27:05 Re: bug w/ cursors and savepoints
Previous Message Oliver Jowett 2005-01-27 23:12:31 Re: bug w/ cursors and savepoints