From: Olivier Martineau <olmartineau@free.fr>
To: pgsql-admin@postgresql.org
Subject: Re: How to move the ...
Date: Thu, 24 Mar 2005 18:46:47 +0100
Message-ID: <4242FD07.3000505@free.fr> (raw)
In-Reply-To: <20050324031230.26419.qmail@mail.unika.ac.id>
References: <20050324031230.26419.qmail@mail.unika.ac.id>
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 instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: olmartineau@free.fr
Subject: Re: How to move the ...
In-Reply-To: <4242FD07.3000505@free.fr>
References: <20050324031230.26419.qmail@mail.unika.ac.id> <4242FD07.3000505@free.fr>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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