1
1
How to install PostgreSQL on Windows
2
2
====================================
3
- $Date: 2003/11/09 03:47:51 $
4
3
5
- PostgreSQL requires the Cygwin set of libraries to be installed in
6
- order that it functions under Windows.
4
+ $Date: 2003/11/12 04:14:30 $
5
+
6
+ PostgreSQL requires the appropriate subset of Cygwin DLLs to be
7
+ installed in order that it functions under Windows.
7
8
8
9
This document assumes that you do not have Cygwin already installed
9
10
on your system. If that is not the case, then you will need to
@@ -16,19 +17,19 @@ adjust these instructions accordingly.
16
17
17
18
2. Proceed through the Cygwin install wizard. Choose 'Install from
18
19
Internet', specify a Local Package Directory and choose a mirror
19
- site that's close to you. Leave everything else as-is.
20
+ site that's close to you. Answer the other installer questions
21
+ appropriately for your configuration.
20
22
21
23
When you come to the point of choosing which packages to install,
22
24
expand the 'Database' section and click 'Skip' next to PostgreSQL
23
25
to change it to the latest version of PostgreSQL available for
24
26
Cygwin.
25
27
26
28
3. Once the download and install process is complete, open a Cygwin
27
- shell and do the following:
29
+ shell and do the following for a basic installation :
28
30
29
- 3a. Start ipc-daemon2 for shared memory support. Use
30
- "net start ipc-daemon2", if you want ipc-daemon2 installed
31
- as a service; otherwise, use "ipc-daemon2 &". This program
31
+ 3a. Start ipc-daemon2 for shared memory support. To do this,
32
+ enter the command "ipc-daemon2 &". This program
32
33
needs to be running anytime you start the PostgreSQL server
33
34
(postmaster) or initialize a database (initdb).
34
35
@@ -52,14 +53,20 @@ adjust these instructions accordingly.
52
53
53
54
4. You are now running a PostgreSQL server on your Windows machine.
54
55
56
+ 5. It is possible to install ipc-daemon2 and the postmaster as
57
+ Windows NT services. For information on how to do this, please
58
+ refer to one of the README documents here:
59
+
60
+ http://www.tishler.net/jason/software/postgresql/
61
+
55
62
Building from source
56
63
--------------------
57
64
58
65
There are some points that are only relevant if you are building Cygwin
59
66
PostgreSQL from source:
60
67
61
68
1. Set your path to use the Cygwin bin directory before the Windows
62
- utilities. Cygwin sort must be used in preference to Windows sort.exe.
69
+ utilities. This will help prevent problems with compilation.
63
70
64
71
2. Proceed according to the INSTALL file (i.e., ./configure; make; etc.)
65
72
noting the following Cygwin specific differences:
0 commit comments