Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
6da05a7b
Commit
6da05a7b
authored
Apr 12, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Major cleanup of Install instructions
Provided by: adrian@waltham.harvard.net
parent
1e9b80a2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
56 additions
and
53 deletions
+56
-53
INSTALL
INSTALL
+56
-53
No files found.
INSTALL
View file @
6da05a7b
...
...
@@ -2,7 +2,7 @@ POSTGRESQL INSTALLATION INSTRUCTIONS
Copyright (c) 1996 Regents of the University of California
This directory contains the source and documentation for PostgreSQL
(version 6.
0
) PostgreSQL is a derivative of POSTGRES 4.2 (the last
(version 6.
1
) PostgreSQL is a derivative of POSTGRES 4.2 (the last
release of the UC Berkeley research project). For copyright terms for
PostgreSQL, please see the file named COPYRIGHT. This version was
developed by a team of developers on the postgres developers mailing
...
...
@@ -45,9 +45,9 @@ MIGRATING FROM POSTGRES VERSION 1.*
-----------------------------------
People migrating data from earlier releases must dump the data under
1.09 and reload them under 6.
0
. The pg_dump utility is designed to do
1.09 and reload them under 6.
1
. The pg_dump utility is designed to do
this. It is important you use 1.09 because earlier releases may not
have the proper copy format to load into the 6.
0
database.
have the proper copy format to load into the 6.
1
database.
INSTALLING POSTGRESQL
---------------------
...
...
@@ -85,55 +85,60 @@ To install PostgreSQL on UNIX platforms:
install to the location of this program. (eg. bsdinst, which comes
with the MIT X Window System distribution)
Customization can be done by editing src/Makefile.global. You may change
the various configuration options here, such as where the PostgreSQL
executable files are installed and where postgres looks for the database
directory.
In the simplest version, you can just do the following:
PostgreSQL V6.0 also supports src/Makefile.custom. This is not supplied
with the distribution, but may be created to contain only the options
you wish to change in src/Makefile.global. This has the advantage that
it will not be overwritten when you install a new version of PostgreSQL
over the top of your current installation.
% cd src
% ./configure
The configuration switches are fairly self-explanatory, but we
will go over some of the more commonly-changed options:
The configure program will list the template files available and ask
you to choose one. A lot of times, an appropriate template file is
chosen for you, and you can just press Enter to accept the default. If
the default is not appropriate, then type in the appropriate template
file and press Enter. (If you do this, then send email to scrappy@hub.org
stating the output of the program './config.guess' and what the template
file should be.)
- PORTNAME specifies the platform on which PostgreSQL is being built.
This is set to UNDEFINED. You will need to change it to reflect
your platform. (sparc for SunOS 4.1.x, sparc_solaris for Solari
s
2.4, ultrix4 for Ultrix 4.4, and hpux for HP-UX 9.0, etc.)
Once you have entered the template file, you will be asked a number of
questions about your particular configuration. These can be skipped by
adding parameters to the configure command above. The following parameter
s
can be tagged onto the end of the configure command:
- SRCDIR specifies where the source files are located. (defaults to
$(POSTGRESDIR)/src.)
--prefix=BASEDIR Selects a different base directory for the installation
of the PostgreSQL configuration. The default is
/usr/local/pgsql
- POSTGRESDIR specifies the top-level directory where PostgreSQL
binaries, header files, libraries, and databases are installed.
--enable-hba Enables Host Based Authentication
- USE_READLINE specifies whether you want to use the GNU readline and
history libraries for the psql interactive frontend program. GNU
readline is not supplied with PostgreSQL and can be found in the
usual ftp sites for GNU software.
--disable-hba Disables Host Based Authentication
In the simplest case, you would create src/Makefile.custom containing
just the line:
--enable-locale Enables USE_LOCALE
PORTNAME= portname
--disable-locale Disables USE_LOCALE
(where you replace portname with the name of the system you are using).
--with-template=TEMPLATE
Use template file TEMPLATE - the template files are
assumed to be in the directory src/template, so look
there for proper values. (If the configure script
cannot find the specified template file, it will ask
you for one).
Even easier is to enter the src directory and run the customize shell
script which will prompt you with various questions and create
Makefile.custom for you:
--with-pgport=PORT Sets the port that the postmaster process listens
for incoming connections on. The default for this
is port 5432.
% cd src
% customize
As an example, here is the configure script I use on a Sparc
Solaris 2.5 system with /opt/postgres being the install base.
% ./configure --prefix=/opt/postgres
--with-template=sparc_solaris-gcc --with-pgport=5432
--enable-hba --disable-locale
After editing src/Makefile.global or src/Makefile.custom, you are ready
to compile PostgreSQL (it takes about 10 minutes on a 133Mhz Pentium
running linux):
Of course, in a real shell, you would type these three lines all on the
same line.
After configure has completed running, you can make the binaries. We use
'gmake' to mean GNU make.
% cd src ( if you're not already there )
% gmake
The gmake ultimately issues the message "All of PostgreSQL is
...
...
@@ -331,5 +336,3 @@ NeXT:
a product so contact him for information. He has also indicated that
binary releases of PostgreSQL for NEXTSTEP will be made available to
the general public. Contact Info@RnA.nl for information.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment