Re: Re-Init database cluster. - Mailing list pgsql-admin

From Tom Lane
Subject Re: Re-Init database cluster.
Date
Msg-id 4101.1079579822@sss.pgh.pa.us
Whole thread Raw
In response to Re-Init database cluster.  (Louie Kwan <lkwan@nuvo.com>)
List pgsql-admin
Louie Kwan <lkwan@nuvo.com> writes:
> I tried to do initdb, but it didn't work.
> My question is that can I just delete the directory where the database
> cluster stored before.
> I.e. rm -rf /var/lib/pgsql/data

Yup, that's the standard way ... however, maybe you should tell us
exactly what "didn't work".  Otherwise you'll likely just fail again.

            regards, tom lane

pgsql-admin by date:

Previous
From: Louie Kwan
Date:
Subject: Re-Init database cluster.
Next
From: Jonathan Gardner
Date:
Subject: Re: