Re: Drop Cluster

From: "Roderick A(dot) Anderson" <raanders(at)cyber-office(dot)net>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Drop Cluster
Date: 2009-08-01 14:41:43
Message-ID: 4A745427.2060805@cyber-office.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

sweta(at)opspl(dot)com wrote:
>
> Hi,
>
>> 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 am using CentOS 5 and postgrest 8.1.11 . Could not find the PGDATA
> directory. :(

On my CentOS 5 systems using the PGDG, and the stock CentOS I found it
(but already knew where) based on the following.

[root(at)db3 ~]# su - postgres
-bash-3.2$ echo $PGDATA
/var/lib/pgsql/data
-bash-3.2$
>
> Will deleting the contents from the directory remove "Cluster already exists"
> error???

You will probably have to re-init_db to have a working PostgreSQL
database system.

> Thanks and Regards,
> Sweta.

\\||/
Rod
--

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Isak Hansen 2009-08-01 14:50:45 Re: MSSQL to PostgreSQL
Previous Message Jennifer Trey 2009-08-01 13:48:34 Re: Can I have a look at your TuningWizard generated config file?