[ADMIN] Moving data directory

2007-05-12 Thread Linux Geeks
Hi All, I'm very new to postgresql and would like to move my data directory to another partition in Ubuntu. The standard installation is in /usr/lib/postgresql. How do I move it into /var/lib/postgresql. Regards, Dino -- To Analyze Is To Know Batte Field, Differ from Battle Itself ---

Re: [ADMIN] Moving data directory

2007-05-12 Thread Linux Geeks
Hi Srinivas, Is it permanently change it ? Do I have to change some entry in configuration file ? Regards, Dino On 5/12/07, Srinivas Kotapally <[EMAIL PROTECTED]> wrote: You can do an initdb -d /var/lib/postgresql to initialize the data directory in the /var/lib/postgresql directory. If you

Re: [ADMIN] Moving data directory

2007-05-21 Thread Linux Geeks
Stell <[EMAIL PROTECTED]> wrote: On Sat, May 12, 2007 at 11:47:46PM +0700, Linux Geeks wrote: > I'm very new to postgresql and would like to move my data directory to > another partition in Ubuntu. I don't think there is anything internal to pg that locks the data location.