Search Postgresql Archives

Re: Drop Cluster

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

 



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


--
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