pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feedHow to move the ...
3+ messages / 2 participants
[nested] [flat]
* How to move the ...
@ 2005-03-24 03:12 dedy <slackman@unika.ac.id>
0 siblings, 1 reply; 3+ messages in thread
From: dedy @ 2005-03-24 03:12 UTC (permalink / raw)
To: pgsql-admin
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 | `. `
|/`. `-. `._)
/ .-.\
\ ( `\
`.\
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: How to move the ...
@ 2005-03-24 17:46 Olivier Martineau <olmartineau@free.fr>
parent: dedy <slackman@unika.ac.id>
0 siblings, 1 reply; 3+ messages in thread
From: Olivier Martineau @ 2005-03-24 17:46 UTC (permalink / raw)
To: pgsql-admin
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
>
>
^ permalink raw reply [nested|flat] 3+ messages in thread
* Re: How to move the ...
@ 2005-03-28 05:48 dedy <slackman@unika.ac.id>
parent: Olivier Martineau <olmartineau@free.fr>
0 siblings, 0 replies; 3+ messages in thread
From: dedy @ 2005-03-28 05:48 UTC (permalink / raw)
To: pgsql-admin; +Cc: Olivier Martineau <olmartineau@free.fr>
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 | `. `
|/`. `-. `._)
/ .-.\
\ ( `\
`.\
^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2005-03-28 05:48 UTC | newest]
Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-03-24 03:12 How to move the ... dedy <slackman@unika.ac.id>
2005-03-24 17:46 ` Olivier Martineau <olmartineau@free.fr>
2005-03-28 05:48 ` dedy <slackman@unika.ac.id>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox