Re: Drop Cluster - Mailing list pgsql-general

From John R Pierce
Subject Re: Drop Cluster
Date
Msg-id 4A747E24.90203@hogranch.com
Whole thread Raw
In response to Drop Cluster  (sweta@opspl.com)
List pgsql-general
sweta@opspl.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.


pgsql-general by date:

Previous
From: Magnus Hagander
Date:
Subject: Reminder: pgday.eu 2009 Call for Papers
Next
From: Magnus Hagander
Date:
Subject: [ANNOUNCE] Reminder: pgday.eu 2009 Call for Papers