1
1
How to install PostgreSQL on Windows
2
2
====================================
3
3
4
- $Date: 2003/11/13 03:53:00 $
4
+ $Date: 2003/11/28 20:22:18 $
5
5
6
- PostgreSQL requires the appropriate subset of Cygwin DLLs to be
6
+ PostgreSQL requires the appropriate subset of Cygwin DLLs to be
7
7
installed in order that it functions under Windows.
8
8
9
9
This document assumes that you do not have Cygwin already installed
@@ -18,7 +18,7 @@ adjust these instructions accordingly.
18
18
2. Proceed through the Cygwin install wizard. Choose 'Install from
19
19
Internet', specify a Local Package Directory and choose a mirror
20
20
site that's close to you. Answer the other installer questions
21
- appropriately for your configuration.
21
+ appropriately for your configuration.
22
22
23
23
When you come to the point of choosing which packages to install,
24
24
expand the 'Database' section and click 'Skip' next to PostgreSQL
@@ -28,15 +28,15 @@ adjust these instructions accordingly.
28
28
3. Once the download and install process is complete, open a Cygwin
29
29
shell and do the following for a basic installation:
30
30
31
- 3a. Start ipc-daemon2 for shared memory support. To do this,
32
- enter the command "ipc-daemon2 &". This program
33
- needs to be running anytime you start the PostgreSQL server
31
+ 3a. Start ipc-daemon2 for shared memory support. To do this,
32
+ enter the command "ipc-daemon2 &". This program
33
+ needs to be running anytime you start the PostgreSQL server
34
34
(postmaster) or initialize a database (initdb).
35
35
36
36
3b. Use the initdb command to create a new database cluster. An
37
37
example command would be:
38
38
39
- initdb -D /usr/local/pgsql/data -W -E LATIN1
39
+ initdb -D /usr/local/pgsql/data -W -E LATIN1
40
40
41
41
Which will create a cluster in the /usr/local/pgsql/data
42
42
directory, will prompt for a superuser password and will
@@ -45,7 +45,7 @@ adjust these instructions accordingly.
45
45
3c. Start up the postmaster. Use a command similar to the
46
46
following:
47
47
48
- postmaster -D /usr/local/pgsql/data
48
+ postmaster -D /usr/local/pgsql/data
49
49
50
50
This will start the postmaster, and if successful you will
51
51
see some initial log entries, and an entry "LOG: database
@@ -88,7 +88,7 @@ Known issues
88
88
89
89
2. "make check" can generate spurious regression test failures due to
90
90
overflowing the listen() backlog queue which causes connection
91
- refused errors or hangs. You can limit the number of connections
91
+ refused errors or hangs. You can limit the number of connections
92
92
using the MAX_CONNECTIONS option thus:
93
93
94
94
make MAX_CONNECTIONS=5 check
0 commit comments