Re: building Postgresql in Windows XP

From: tushar <tushar(dot)ahuja(at)enterprisedb(dot)com>
To: "Md(dot) Abdur Rahman" <rahman(at)mcrlab(dot)uottawa(dot)ca>
Cc: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>, pgsql-bugs(at)postgresql(dot)org
Subject: Re: building Postgresql in Windows XP
Date: 2009-02-19 12:12:27
Message-ID: 499D4CAB.40408@enterprisedb.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Md. Abdur Rahman wrote:
> Thank you sir.
>
> Ah! got right person at right time :-). For now, my question is: I am
> using my Windows XP OS on a laptop and built using MinGW.

from which location you are firing initdb command ,if your PATH is not set ,it is always to run command under bin folder.

However, once
> I try to create a database cluster using "initdb -D
> /c/postgresql-8.3.5/src/data" it shows me a message "The program
> postgres is needed by initdb but was not found in the same directory as
> c:/postgresql-8.3.5/src/bin/initdb/initdb.exe. Actually the folder data
> in src folder does not exist. Check your installation".

Hmm,it supposed to create a data folder , go to c:/postgresql-8.3.5/src/bin/ and then fire initdb command like initdb c:/data or where u want

>I just want to
> use this folder for the server instance of postgres. I have checked the
> directory structure but did not find postgres.exe anywhere. Any quick
> idea? I appreciate your help. As a new to this world, I feel that I am
> asking some stupid question and thank you for your patience.

postgres supposed to be under bin folder.

--
regards,tushar
http://webeatoracle.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFJnUyrfQNodY2PIRoRAhDpAJ9iP8w1PuMwLzt6ptfGpIjuqPB2swCfUg9y
EKPuU/TDP748eS6FyucV1gI=
=yinV
-----END PGP SIGNATURE-----

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message tushar 2009-02-19 12:54:10 Re: building Postgresql in Windows XP
Previous Message Md. Abdur Rahman 2009-02-19 11:54:01 Re: building Postgresql in Windows XP