Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init - Mailing list pgsql-hackers

From Matthew T. O'Connor
Subject Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init
Date
Msg-id 44F0FE93.6050400@zeut.net
Whole thread Raw
In response to Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: [Pgsqlrpms-hackers] Safer auto-initdb for RPM init
List pgsql-hackers
Joshua D. Drake wrote:
> Matthew T. O'Connor wrote:
>> Jim C. Nasby wrote:
>>> As Tom mentioned, it's for newbie-friendliness. While I can understand
>>> that, I think it needs to be easy to shut that off.
>>
>> I understand that, but it seems the whole problem of people 
>> overwriting there data dir is because we initdb from the start 
>> script.  If we installed the datadir during the RPM install, it would 
>> still be newbie friendly and would removed initdb from start script 
>> solving that problem.
>
>  initdb will not overwrite an existing installation. 

Poorly chosen words.  I meant, the problem where the start script will 
create a new data dir when it doesn't see that one exists even though 
one actually does exist it's just not available at the moment.  Either 
way, if the start scripts never created a data dir, then there is no 
problem.


pgsql-hackers by date:

Previous
From: "Jonah H. Harris"
Date:
Subject: Re: Hierarchical Queries--Status
Next
From: Alvaro Herrera
Date:
Subject: Re: Hierarchical Queries--Status