Search Postgresql Archives

Re: Drop Cluster

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



sweta@xxxxxxxxx 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@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
--


--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux