Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
bf01c798
Commit
bf01c798
authored
24 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Make Kevin Lo's MS FAQ the default.
parent
c9fe1283
No related branches found
No related tags found
No related merge requests found
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/FAQ_MSWIN
+64
-38
64 additions, 38 deletions
doc/FAQ_MSWIN
doc/src/FAQ/FAQ.html
+275
-793
275 additions, 793 deletions
doc/src/FAQ/FAQ.html
with
339 additions
and
831 deletions
doc/FAQ_MSWIN
+
64
−
38
View file @
bf01c798
How do I installing PostgreSQL on Windows NT or Windows 2000?
=============================================================
$Date: 2001/01/19 23:43:35 $
* You can get the most recent version of this from
* http://people.freebsd.org/~kevlo/postgres/portNT.html.
1. Install the Cygwin package
.
* Problem reports can be sent to <pgsql-ports@postgresql.org>
.
The Cygwin package provides a UNIX-like API on top of the Win32
API. It is available at <http://sources.redhat.com/cygwin/>.
The 1.1.x series is recommended (1.1.7 was the latest at the time
of this writing); using 1.0 or B20 might require extra efforts.
For B20 you also need to download the separate crypt library at the
same location.
How do I install the PostgreSQL server on Windows NT or Windows 2000?
=====================================================================
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.
Porting PostgreSQL to Windows 2000 installation procedures
3. Optional: The "Andy Piper Tools" at <http://www.xemacs.freeserve.co.uk/>
are a collection of pre-compiled libraries and utilities that you
might find useful -- especially on Cygwin B20.
Thanks to Daniel Horak, JasonTishler ,Joost Kraaijeveld and Pete
Formanfor their helps.
Without them, I cannot port Postgres to Windows 2000 successfully.
______________________________________________________________________
4. The Cygwin bin directory has to be placed in the path before the
Windows program directories, because the sort.exe has to be taken
from Cygwin, not Windows.
* Install the lastest verion(1.1.5) of Cygwin
5. Start `ipc-daemon &' (background process) from the cygipc package.
This program needs to be running anytime you start the PostgreSQL
server (postmaster).
1. Click on the "Install Cygwin now" link on the
http://sources.redhat.com/cygwinwebpage.
This downloads setup.exe to your system.
2. Run setup and answer all of the questions. Please
choose a mirror sitefor your download.
* Install Charles Wilson's Cygwin32 IPC package
6. Proceed according to the INSTALL file. (./configure; make; etc.)
1. Download the precompiled binary
http://www.neuro.gatech.edu/users/cwilson/cygutils/V1.1/cygipc/cygipc-
1.07-1.tar.gzin"/" directory.
2. tar zxvf cygipc-1.07-1.tar.gz
* Install PostgreSQL 7.0.3
NOTE: There are two issues with Cygwin's current UNIX domain socket
support:
1. Download PostgreSQL 7.0.3 sourcecode in /usr/src.
2. tar zxvf postgresql-7.0.3.tar.gz
3. mkdir -p /usr/local/pgsql/{bin,include,lib,data}
4. cd /usr/src/postgresql-7.0.3/src/win32
5. cp endian.h /usr/include
cp tcp.h /usr/include/netinet
6. Apply Jason Tishler's patches in
/usr/src/postgresql-7.0.3, then run 'patch -p1 <patch.diff'.
Note that some browsers convert the patch to a text
mode file (i.e., CRNL line endings)
during the save operation which causes patch to reject
all hunks.
7. cd /usr/src/postgresql-7.0.3/src, then run
'./configure'
8. make; make install
9. cp/usr/local/pgsql/lib/pq.dll /usr/local/pgsql/bin
10. Usingany editor to create .bashrc in / directory as
belows:
PATH=$PATH:/usr/local/pgsql/bin:/usr/local/bin
PGDATA=/usr/local/pgsql/data
PGLIB=/usr/local/pgsql/lib
LD_LIBRARY_PATH=/usr/local/pgsql/lib:/usr/local/lib
export LD_LIBRARY_PATH PATH PGDATA PGLIB
11. source/.bashrc, then run 'initdb'
Note that the owner of the DB system have to be
different from root/administrator
12. Editthe file /usr/local/pgsql/data/pg_hba.conf, such as:
1. psql (and other clients) will hang if postmaster is not running and
the socket file (e.g., /tmp/.s.PGSQL.5432) exists.
host all 163.17.11.109 255.255.255.0
trust
2. Cygwin's AF_UNIX sockets are really implemented as AF_INET sockets
so they are inherently insecure.
13. ipc-daemon&
14. postmaster-i&
15. Run' psql -h host_name template1'. It's easy, huh :-)
Problem reports can be sent to <pgsql-ports@postgresql.org>.
Last updated: 01/05/2001 Author: KevinLo
This diff is collapsed.
Click to expand it.
doc/src/FAQ/FAQ.html
+
275
−
793
View file @
bf01c798
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment