Skip site navigation (1) Skip section navigation (2)

Re: Installing postgresql on Windows question

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: "Wei Wang" <ww220(at)cam(dot)ac(dot)uk>,<pgsql-hackers-win32(at)postgresql(dot)org>
Subject: Re: Installing postgresql on Windows question
Date: 2004-02-06 22:22:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers-win32
>Now I did "configure --without-zlib --enable-debug 
>--enable-cassert" and
>then "make".
>psql  will run under CMD.EXE.  psql does not work using the 
>Msys console
>application because of buffering problems.
>Now I'm confused it didn't say anything about "make install". 
>Does that mean
>it is not needed in Windows installation?
>But I cannot find where the database is. Can anyone give me 
>some direction?

Those parts are the same as for unix. Meaning you just run "make
install" and it will end up in "/usr/local/pgsql" (in the mingw
environment). Depending on exactly how your environment is, you will
probably have to tweak around the PATH variable so the postmaster can
find it's backend executable.

You will then have to run initdb just as on Unix. See the win32 status
page for either a patch or a workaround around the problem of
initdb:ing. You can pick whatever data directory you chose. Also, the
readdir() workaround/patch is required to get anything working at all.

Finally, start the postmaster manually from the directory where it was

Note that if you haven't applied the signals handling patches to your
tree, the system will not shut down correctly. So after each shut down,
you will have to manually kill any remaining backends from the task

Expect a non-trivial amount of manual things that are not documented
still, since this port is still very much under early development.



pgsql-hackers-win32 by date

Next:From: Magnus HaganderDate: 2004-02-06 22:32:06
Subject: Re: [PATCHES] win32 signals, part 5
Previous:From: Magnus HaganderDate: 2004-02-06 22:14:12
Subject: Re: [PATCHES] win32 signals, part 4

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group