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

From Louie Kwan
Subject Re-Init database cluster.
Date
Msg-id FB4FDC17A002D711BC0C009027DE84AF027F6C54@EXCHANGE.nuvo.com
Whole thread Raw
Responses Re: Re-Init database cluster.  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Re-Init database cluster.  ("scott.marlowe" <scott.marlowe@ihs.com>)
List pgsql-admin
Hi All,

I did a pg_dumpall and psql the output and created a db. Basically, I would
like to clean up  everything including users and groups.

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

Or I should do something else to re-init the database cluster.

Louie

pgsql-admin by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: Row data corruption under 7.3.5
Next
From: Tom Lane
Date:
Subject: Re: Re-Init database cluster.