Re: initdb and "exit_nicely"... - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: initdb and "exit_nicely"...
Date
Msg-id Pine.LNX.4.21.0005190155430.349-100000@localhost.localdomain
Whole thread Raw
In response to Re: initdb and "exit_nicely"...  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
Tom Lane writes:

> Something that would be a lot simpler is to refuse to run at all
> if the $PGDATA dir exists and is nonempty ;-)

Yes, why not? Initialize first, customize second. I thought initdb
provides a default pg_hba.conf file etc. so there's little to no reason
to do it the other way around.

--
Peter Eisentraut                  Sernanders väg 10:115
peter_e@gmx.net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


pgsql-general by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: initdb and "exit_nicely"...
Next
From: Mike Mascari
Date:
Subject: Re: PostgreSQL cleartext passwords