Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite141fc6

Browse files
committed
Various updates to install, including redirecting installers to
Makefile.custom and pointers at the customize script...
1 parent3d97a61 commite141fc6

File tree

1 file changed

+27
-8
lines changed

1 file changed

+27
-8
lines changed

‎INSTALL

Lines changed: 27 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,15 @@ To install PostgreSQL on UNIX platforms:
8181
Customization can be done by editing src/Makefile.global. You may change
8282
the various configuration options here, such as where the PostgreSQL
8383
executable files are installed and where postgres looks for the database
84-
directory. The configuration switches are fairly self-explanatory, but we
84+
directory.
85+
86+
PostgreSQL V6.0 also supports src/Makefile.custom. This is not supplied
87+
with the distribution, but may be created to contain only the options
88+
you wish to change in src/Makefile.global. This has the advantage that
89+
it will not be overwritten when you install a new version of PostgreSQL
90+
over the top of your current installation.
91+
92+
The configuration switches are fairly self-explanatory, but we
8593
will go over some of the more commonly-changed options:
8694

8795
- PORTNAME specifies the platform on which PostgreSQL is being built.
@@ -100,14 +108,25 @@ To install PostgreSQL on UNIX platforms:
100108
readline is not supplied with PostgreSQL and can be found in the
101109
usual ftp sites for GNU software.
102110

103-
- HBA specifies whether you wish to use host-based authentication
104-
for PostgreSQL. See the section "How to Create a Database System"
105-
for how to set up the HBA permissions if you decide to use HBA.
111+
In the simplest case, you would create src/Makefile.custom containing
112+
just the line:
113+
114+
PORTNAME= portname
106115

107-
After editing src/Makefile.global, you are ready to compile PostgreSQL
108-
(it takes about 10 minutes on a 133Mhz Pentium running linux):
116+
(where you replace portname with the name of the system you are using).
117+
118+
Even easier is to enter the src directory and run the customize shell
119+
script which will prompt you with various questions and create
120+
Makefile.custom for you:
109121

110122
% cd src
123+
% customize
124+
125+
After editing src/Makefile.global or src/Makefile.custom, you are ready
126+
to compile PostgreSQL (it takes about 10 minutes on a 133Mhz Pentium
127+
running linux):
128+
129+
% cd src ( if you're not already there )
111130
% gmake
112131

113132
The gmake ultimately issues the message "All of PostgreSQL is
@@ -148,8 +167,8 @@ superuser. The simplest way is by creating and running a C language
148167
function. There are plans to remedy this in future developent.
149168

150169
The program initdb (part of Postgres) is what initializes (creates) a
151-
database system. Initdb uses the defaults specified in Makefile.global.
152-
See the man page for initdb for more information.
170+
database system. Initdb uses the defaults specified in Makefile.global
171+
or Makefile.custom.See the man page for initdb for more information.
153172

154173
% initdb --pgdata=/usr/local/pgsql/data --pglib=/usr/local/pgsql/lib
155174

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp