Skip site navigation (1) Skip section navigation (2)

Re: How to move the ...

From: "dedy" <slackman(at)unika(dot)ac(dot)id>
To: pgsql-admin(at)postgresql(dot)org
Cc: Olivier Martineau <olmartineau(at)free(dot)fr>
Subject: Re: How to move the ...
Date: 2005-03-28 05:48:47
Message-ID: 20050328054847.1913.qmail@mail.unika.ac.id (view raw or flat)
Thread:
Lists: pgsql-admin
Thank You sir. for your kind to answering my email.
if try it but the default is in the c:\.....  how can i move it to d:\DataPG
??
Dedy Styawan 


Olivier Martineau writes: 

> You just have to run again the initdb command with -D option :
> initdb - D D:\DataPG 
> 
> Then, you'll have to start the database server with this command :
> pg_ctl -D D:\DataPG start 
> 
> 
> dedy a écrit : 
> 
>> I have just installed PostgreSQL (postgresql-8.0.1.zip) on a Windows 2K 
>> Prof platform.
>> but the the default Database Dir is in C:\Program 
>> Files\PostgreSQL\8.0\data
>> can I move the default Database ex: D:\DataPG\
>> where can i set it??
>> Thank You for all your kind for reading my bad english email
>> Dedy Styawan
>> Semarang - Central Java
>> Indonesia 
>> 
>>  
>> 
>>  
>> 
>>             |    .
>>         .   |L  /|   .
>>     _ . |\ _| \--+._/| .
>>    / ||\| Y J  )   / |/| ./     J  |)'( |        ` F`.'/
>> -<|  F         __     .-<
>>   | /       .-'. `.  /-. L___
>>   J \      <    \  | | O\|.-'
>> _J \  .-    \/ O | | \  |F
>> '-F  -<_.     \   .-'  `-' L__
>> __J  _   _.     >-'  )._.   |-'
>> `-|.'   /_.           \_|   F
>> /.-   .                _.<
>> /'    /.'             .'  `\   /L  /'   |/      _.-'-\
>> /'J       ___.---'\|    |\  .--' V  | `. `
>>  |/`. `-.     `._)
>>     / .-.\           \ (  `\
>>      `.\ 
>> 
>> ---------------------------(end of broadcast)---------------------------
>> TIP 6: Have you searched our list archives? 
>> 
>>               http://archives.postgresql.org 
>> 
>> 
> 
 


             |    .
         .   |L  /|   .
     _ . |\ _| \--+._/| .
    / ||\| Y J  )   / |/| ./	
   J  |)'( |        ` F`.'/
 -<|  F         __     .-<
   | /       .-'. `.  /-. L___
   J \      <    \  | | O\|.-'
 _J \  .-    \/ O | | \  |F
'-F  -<_.     \   .-'  `-' L__
__J  _   _.     >-'  )._.   |-'
`-|.'   /_.           \_|   F
 /.-   .                _.<
/'    /.'             .'  `\	
 /L  /'   |/      _.-'-\
/'J       ___.---'\|	
  |\  .--' V  | `. `
  |/`. `-.     `._)
     / .-.\		
     \ (  `\
      `.\ 



In response to

pgsql-admin by date

Next:From: Tsirkin EvgenyDate: 2005-03-28 09:52:34
Subject: is postgresql 8 is realy mature
Previous:From: Bruno Wolff IIIDate: 2005-03-27 16:36:53
Subject: Re: [pgsql-advocacy] Function which gives back the nearest neighbours

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group