Re: [GENERAL] Change of the data directory on Ubuntu 7.04

2007-12-22 Thread Marek Szczypek
On 20 Gru, 16:37, [EMAIL PROTECTED] ("Leonel Nunez") wrote: > you can leave the instalation as is , and create a tablespace in > /dane/postgresql and create your databases in the NEW tablespace > > take a look at > :http://www.postgresql.org/docs/8.2/static/manage-ag-tablespaces.html > > Leone

[GENERAL] Change of the data directory on Ubuntu 7.04

2007-12-20 Thread Marek Szczypek
Hi All, I have a question - what is the procedure, to change the default location of the data directory of PostgreSQL database? I would like the data to be stored in /dane/postgresql/data instead of the Ubuntu's default location (/var/lib/postgresql/). Is it enough just to run initdb -D /dane/p