Re: Re-Init database cluster.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Louie Kwan <lkwan(at)nuvo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Re-Init database cluster.
Date: 2004-03-18 03:17:02
Message-ID: 4101.1079579822@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Louie Kwan <lkwan(at)nuvo(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message chris 2004-03-18 07:15:16 unimplemented functions
Previous Message Louie Kwan 2004-03-17 21:45:00 Re-Init database cluster.