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



Reply via email to