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

From: "Nagle, Gail A \(US SSA\)" <gail(dot)nagle(at)baesystems(dot)com>
To: "Craig Ringer" <craig(at)postnewspapers(dot)com(dot)au>, "Kushal Vaghani" <kushalvaghani(at)gmail(dot)com>
Cc: "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com>, <pgsql-general(at)postgresql(dot)org>, <pgsql-novice(at)postgresql(dot)org>
Subject: Re: [NOVICE] Re: Install from Source On Windows - University of Sydney Research
Date: 2009-08-25 01:37:16
Message-ID: 814i7o$43s3ss@dmzms99802.na.baesystems.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice

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(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of Craig Ringer
Sent: Sunday, August 23, 2009 11:51 PM
To: Kushal Vaghani
Cc: Scott Marlowe; pgsql-general(at)postgresql(dot)org;
pgsql-novice(at)postgresql(dot)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

Browse pgsql-general by date

  From Date Subject
Next Message Craig Ringer 2009-08-25 02:22:06 Re: How to simulate crashes of PostgreSQL?
Previous Message Bayless Kirtley 2009-08-25 00:34:17 Re: R: Field's position in Table

Browse pgsql-novice by date

  From Date Subject
Next Message Jignesh Shah 2009-08-25 08:16:44 compilation error
Previous Message Josh Kupershmidt 2009-08-24 15:47:42 Re: commit changes?