X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0161653A82 for ; Mon, 28 Mar 2005 07:30:52 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 51170-07 for ; Mon, 28 Mar 2005 06:30:48 +0000 (GMT) Received: from mail.unika.ac.id (66.subnet205.astinet.telkom.net.id [203.130.205.66]) by svr1.postgresql.org (Postfix) with SMTP id 156AA53A80 for ; Mon, 28 Mar 2005 07:30:30 +0100 (BST) Received: (qmail 1914 invoked by uid 507); 28 Mar 2005 12:48:47 +0700 Message-ID: <20050328054847.1913.qmail@mail.unika.ac.id> References: <20050324031230.26419.qmail@mail.unika.ac.id> <4242FD07.3000505@free.fr> In-Reply-To: <4242FD07.3000505@free.fr> From: "dedy" To: pgsql-admin@postgresql.org Cc: Olivier Martineau Subject: Re: How to move the ... Date: Mon, 28 Mar 2005 12:48:47 +0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8" Content-Transfer-Encoding: 8bit X-Sender: slackman@unika.ac.id X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.112 tagged_above=0 required=5 tests=AWL, FORGED_RCVD_HELO X-Spam-Level: X-Archive-Number: 200503/450 X-Sequence-Number: 16948 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 | `. ` |/`. `-. `._) / .-.\ \ ( `\ `.\