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
...
@@ -2,7 +2,7 @@ POSTGRESQL INSTALLATION INSTRUCTIONS
Copyright (c) 1996 Regents of the University of California
Copyright (c) 1996 Regents of the University of California
This directory contains the source and documentation for PostgreSQL
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
release of the UC Berkeley research project). For copyright terms for
PostgreSQL, please see the file named COPYRIGHT. This version was
PostgreSQL, please see the file named COPYRIGHT. This version was
developed by a team of developers on the postgres developers mailing
developed by a team of developers on the postgres developers mailing
...
@@ -45,9 +45,9 @@ MIGRATING FROM POSTGRES VERSION 1.*
...
@@ -45,9 +45,9 @@ MIGRATING FROM POSTGRES VERSION 1.*
-----------------------------------
-----------------------------------
People migrating data from earlier releases must dump the data under
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
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
INSTALLING POSTGRESQL
---------------------
---------------------
...
@@ -85,55 +85,60 @@ To install PostgreSQL on UNIX platforms:
...
@@ -85,55 +85,60 @@ To install PostgreSQL on UNIX platforms:
install to the location of this program. (eg. bsdinst, which comes
install to the location of this program. (eg. bsdinst, which comes
with the MIT X Window System distribution)
with the MIT X Window System distribution)
Customization can be done by editing src/Makefile.global. You may change
In the simplest version, you can just do the following:
the various configuration options here, such as where the PostgreSQL
executable files are installed and where postgres looks for the database
directory.
PostgreSQL V6.0 also supports src/Makefile.custom. This is not supplied
% cd src
with the distribution, but may be created to contain only the options
% ./configure
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.
The configuration switches are fairly self-explanatory, but we
The configure program will list the template files available and ask
will go over some of the more commonly-changed options:
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.
Once you have entered the template file, you will be asked a number of
This is set to UNDEFINED. You will need to change it to reflect
questions about your particular configuration. These can be skipped by
your platform. (sparc for SunOS 4.1.x, sparc_solaris for Solari
s
adding parameters to the configure command above. The following parameter
s
2.4, ultrix4 for Ultrix 4.4, and hpux for HP-UX 9.0, etc.)
can be tagged onto the end of the configure command:
- SRCDIR specifies where the source files are located. (defaults to
--prefix=BASEDIR Selects a different base directory for the installation
$(POSTGRESDIR)/src.)
of the PostgreSQL configuration. The default is
/usr/local/pgsql
- POSTGRESDIR specifies the top-level directory where PostgreSQL
--enable-hba Enables Host Based Authentication
binaries, header files, libraries, and databases are installed.
- USE_READLINE specifies whether you want to use the GNU readline and
--disable-hba Disables Host Based Authentication
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.
In the simplest case, you would create src/Makefile.custom containing
--enable-locale Enables USE_LOCALE
just the line:
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
--with-pgport=PORT Sets the port that the postmaster process listens
script which will prompt you with various questions and create
for incoming connections on. The default for this
Makefile.custom for you:
is port 5432.
% cd src
As an example, here is the configure script I use on a Sparc
% customize
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
Of course, in a real shell, you would type these three lines all on the
to compile PostgreSQL (it takes about 10 minutes on a 133Mhz Pentium
same line.
running linux):
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
% gmake
The gmake ultimately issues the message "All of PostgreSQL is
The gmake ultimately issues the message "All of PostgreSQL is
...
@@ -331,5 +336,3 @@ NeXT:
...
@@ -331,5 +336,3 @@ NeXT:
a product so contact him for information. He has also indicated that
a product so contact him for information. He has also indicated that
binary releases of PostgreSQL for NEXTSTEP will be made available to
binary releases of PostgreSQL for NEXTSTEP will be made available to
the general public. Contact Info@RnA.nl for information.
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