Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group