Search Postgresql Archives

Re: Moving database cluster

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

 



 

> -----Mensaje original-----
> De: Guillaume Lelarge [mailto:guillaume@xxxxxxxxxxxx] 
> 
> Le 14/01/2010 21:40, Fernando Hevia a écrit :
> > 
> > An Ubuntu install creates a postgres cluster automatically on 
> > /var/lib/postgresql/8.4/main Whats the best procedure for 
> moving this 
> > cluster to an other location?
> > Should I just rerun initdb? What happens then with the 
> default cluster 
> > or how could I delete it?
> > 
> 
> If you don't have any data on it, the best way is to drop it 
> with pg_dropcluster, and create a new one with pg_createcluster.
> 
> 

Sound advice. Thanks!!


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