Thread: Re: Re: [GENERAL] Install from Source On Windows - University of Sydney Research

Re: Re: [GENERAL] Install from Source On Windows - University of Sydney Research

From
"Nagle, Gail A \(US SSA\)"
Date:
Just to clarify a minor point - on Windows NT and newer, the COMSPEC
environment variable determines which executable runs a batch script
whether the extension is .bat or .cmd - on NT and newer this defaults to
cmd.exe.

-----Original Message-----
From: pgsql-novice-owner@postgresql.org
[mailto:pgsql-novice-owner@postgresql.org] On Behalf Of Craig Ringer
Sent: Sunday, August 23, 2009 11:51 PM
To: Kushal Vaghani
Cc: Scott Marlowe; pgsql-general@postgresql.org;
pgsql-novice@postgresql.org
Subject: [NOVICE] Re: [GENERAL] Install from Source On Windows -
University of Sydney Research

On Mon, 2009-08-24 at 16:48 +1000, Kushal Vaghani wrote:
> okay guys I will get 8.2.13, so would running the install.pl would be
> different.
>
> I will try and see if I can compile and run as mentioned from the
> docs. But would there be any script after install.pl to run the
> postmaster, initDB

You'll probably want to initdb, edit the postgresql.conf created by
initdb as desired, then start the postmaster manually using pg_ctl
(making sure to point pg_ctl at the data directory you created). It's
not hard.

If you want to automate it, just write a batch file. Remember to use
".cmd" not ".bat" so you run under the win32 cmd.exe script processor
not the ancient dos emulation monster command.com .

--
Craig Ringer


--
Sent via pgsql-novice mailing list (pgsql-novice@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-novice