pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pgsql start implies initdb = bad



On Wed, Nov 25, 2009 at 11:07:56PM +0000, David Brownlee wrote:
> The epic fail case is only going to be hit when someone has configured
> their system in a hideously broken fashion anyway, but I can imagine
> situations where people would prefer 'no database' to 'empty database'
> when a system 'loses' its psql data dir, so certainly an option to the
> rc.d file to disable the auto initdb (maybe by just setting something
> in rc.conf) might be of interest.

Well, one option to improve this further is to also check for
pg_hba.conf. If that is missing too, you certainly have no database
cluster initialised...

Joerg


Home | Main Index | Thread Index | Old Index