Re: Installing postgresql on Windows question - Mailing list pgsql-hackers-win32

From Magnus Hagander
Subject Re: Installing postgresql on Windows question
Date
Msg-id 6BCB9D8A16AC4241919521715F4D8BCE1715CD@algol.sollentuna.se
Whole thread Raw
In response to Installing postgresql on Windows question  ("Wei Wang" <ww220@cam.ac.uk>)
List 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
installed.

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
manager.


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


//Magnus

pgsql-hackers-win32 by date:

Previous
From: "Wei Wang"
Date:
Subject: Installing postgresql on Windows question
Next
From: "Wei Wang"
Date:
Subject: Re: Installing postgresql on Windows question