postgresql/doc/FAQ_MSWIN

40 lines
1.6 KiB
Plaintext
Raw Normal View History

2001-04-25 04:05:02 +08:00
How to install PostgreSQL on Windows NT or Windows 2000
=======================================================
2001-05-12 06:27:12 +08:00
$Date: 2001/05/11 22:27:12 $
2001-01-23 06:54:07 +08:00
1. Install the Cygwin package.
2001-01-23 06:54:07 +08:00
The Cygwin package provides a UNIX-like API on top of the Win32
API. It is available at <http://sources.redhat.com/cygwin/>. At
the time of this writing, it is recommended to use either version
1.1.7, a snapshot built after 2001/02/05 12:36:41, or the 1.3.x series
(when available). Version 1.1.8 contains a bug that will prevent the
server to work. Using older versions such as 1.0 or B20 might require
extra efforts.
2001-01-23 06:54:07 +08:00
2. Install the cygipc package, available at
<http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/cygipc/>.
Do not use versions prior to 1.04, they will not work.
2001-05-12 06:27:12 +08:00
3. The Cygwin bin directory has to be placed in the path before the
2001-01-23 06:54:07 +08:00
Windows program directories, because the sort.exe has to be taken
from Cygwin, not Windows.
2001-05-12 06:27:12 +08:00
4. Start ipc-daemon from the cygipc package. Use "net start ipc-daemon",
if ipc-daemon is installed as a service; otherwise, use "ipc-daemon &".
2001-01-23 06:54:07 +08:00
This program needs to be running anytime you start the PostgreSQL
server (postmaster).
2001-05-12 06:27:12 +08:00
5. Proceed according to the INSTALL file. (./configure; make; etc.)
2001-01-23 06:54:07 +08:00
NOTE: The following are known issues with PostgreSQL on Windows:
2001-01-23 06:54:07 +08:00
1. Cygwin's AF_UNIX sockets are really implemented as AF_INET sockets
2001-01-23 06:54:07 +08:00
so they are inherently insecure.
2. make check can generate spurious regression test failures due to
2001-04-25 04:05:02 +08:00
overflowing the listen() backlog queue which causes connection
refused errors.
Problem reports can be sent to <pgsql-cygwin@postgresql.org>.