Re: Drop Cluster

From: John R Pierce <pierce(at)hogranch(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Drop Cluster
Date: 2009-08-01 17:40:52
Message-ID: 4A747E24.90203@hogranch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

sweta(at)opspl(dot)com wrote:
>> I believe that command is specific to the debian/ubuntu distributions.
>>
>> in generic postgres, you'd simply stop the server, then delete the
>> contents of the $PGDATA directory
>>
>
> I cleared the PGDATA directory like this -->
>
> PGDATA=""
> export PGDATA
>

that just sets the environment variable to an empty string.

you need to stop your postgres server if its already running, then

rm -rf /var/lib/pgsql/data/*

then you can do a new initdb.... assuming thats what you're trying to
do. I have no idea what replconfig.cnf is.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Janet Jacobsen 2009-08-01 21:24:41 questions on (parallel) COPY and when to REINDEX
Previous Message Magnus Hagander 2009-08-01 17:05:31 Reminder: pgday.eu 2009 Call for Papers