Re: [GENERAL] Move PGdata to a different drive

2009-06-09 Thread Jasen Betts
On 2009-06-05, David Fetter wrote: > On Thu, Jun 04, 2009 at 11:11:29AM -0400, Bruce Momjian wrote: >> Jennifer Trey wrote: >> > Hi, >> > What file should I be working with? >> >> Just shut down the server and move the directory whever you want and >> restart the server. There are no file conten

Re: [GENERAL] Move PGdata to a different drive

2009-06-08 Thread Yaroslav Tykhiy
David Fetter wrote: On Thu, Jun 04, 2009 at 11:11:29AM -0400, Bruce Momjian wrote: Jennifer Trey wrote: Hi, What file should I be working with? Just shut down the server and move the directory whever you want and restart the server. There are no file contents that need changing. Of course sho

Re: [GENERAL] Move PGdata to a different drive

2009-06-05 Thread David Fetter
On Thu, Jun 04, 2009 at 11:11:29AM -0400, Bruce Momjian wrote: > Jennifer Trey wrote: > > Hi, > > What file should I be working with? > > Just shut down the server and move the directory whever you want and > restart the server. There are no file contents that need changing. > Of course should ad

Re: [GENERAL] Move PGdata to a different drive

2009-06-04 Thread Massa, Harald Armin
Probably you do not have any script to start PostgreSQL, but it is started as a service. The data directory is a parameter of the service within services.msc, there is ... pg_ctl.exe ... -D "":\your\directory" Read up on pg_ctl --help how to change this information (pg_ctl --register) Best wish

Re: [GENERAL] Move PGdata to a different drive

2009-06-04 Thread Jennifer Trey
Ook.. thats what I wanted to know. I figured there has to be a place to change the pointer to the new location of the data. Thank you / Jennifer On Thu, Jun 4, 2009 at 6:11 PM, Bruce Momjian wrote: > Jennifer Trey wrote: > > Hi, > > What file should I be working with? > > Just shut down the serv

Re: [GENERAL] Move PGdata to a different drive

2009-06-04 Thread Bruce Momjian
Jennifer Trey wrote: > Hi, > What file should I be working with? Just shut down the server and move the directory whever you want and restart the server. There are no file contents that need changing. Of course should adjust your scripts or PGDATA environment variable. -- Bruce Momjian