]> granicus.if.org Git - postgresql/blob - doc/FAQ_MSWIN
eed29ff6a55c236b59410626d445f4886181d853
[postgresql] / doc / FAQ_MSWIN
1 How do I installing PostgreSQL on Windows NT or Windows 2000?
2 =============================================================
3 $Date: 2000/10/18 21:14:56 $
4
5 1.  Install the Cygwin package.
6
7     The Cygwin package provides a UNIX-like API on top of the Win32
8     API.  It is available at <http://sources.redhat.com/cygwin/>.
9     The 1.1.x series is recommended (1.1.4 was the latest at the time
10     of this writing); using 1.0 or B20 might require extra efforts.
11     For B20 you also need to download the separate crypt library at the
12     same location.
13
14 2.  Install the cygipc package, available at
15     <http://cygutils.netpedia.net/V1.1/cygipc/>.  Do not use versions
16     prior to 1.04, they will not work.
17
18 3.  Optional:  The "Andy Piper Tools" at <http://www.xemacs.freeserve.co.uk/>
19     are a collection of pre-compiled libraries and utilities that you
20     might find useful -- especially on Cygwin B20.
21
22 4.  The Cygwin bin directory has to be placed in the path before the
23     Windows program directories, because the sort.exe has to be taken
24     from Cygwin, not Windows.
25
26 5.  Start `ipc-daemon &' (background process) from the cygipc package.
27     This program needs to be running anytime you start the PostgreSQL
28     server (postmaster).
29
30 6.  Proceed according to the INSTALL file.  (./configure; make; etc.)
31
32 NOTE:  By default, PostgreSQL clients like psql communicate using Unix
33 domain sockets, which do not work on Windows.  Start the postmaster
34 with -i, and when connecting to the database from a client, set the
35 PGHOST environment variable to `localhost' or supply the hostname on
36 the command line.
37
38 Problem reports can be sent to <pgsql-ports@postgresql.org>.