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: 4101.1079579822@sss.pgh.pa.us (view raw or flat)
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

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-2014 The PostgreSQL Global Development Group