1
- <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.218 2004/12/24 18:37:26 momjian Exp $ -->
1
+ <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.219 2004/12/24 19:12:36 tgl Exp $ -->
2
2
3
3
<chapter id="installation">
4
4
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -146,7 +146,7 @@ su - postgres
146
146
<filename>libperl</filename> library must be a shared library
147
147
also on most platforms. This appears to be the default in
148
148
recent <productname>Perl</productname> versions, but it was not
149
- in earlier versions, and in general it is the choice of whomever
149
+ in earlier versions, and in any case it is the choice of whomever
150
150
installed Perl at your site.
151
151
</para>
152
152
@@ -238,8 +238,9 @@ su - postgres
238
238
239
239
<listitem>
240
240
<para>
241
- <application>Kerberos</>, <productname>OpenSSL</>, or <application>PAM</>,
242
- if you want to support authentication using these services.
241
+ <application>Kerberos</>, <productname>OpenSSL</>, or
242
+ <application>PAM</>, if you want to support authentication or
243
+ encryption using these services.
243
244
</para>
244
245
</listitem>
245
246
</itemizedlist>
@@ -393,23 +394,27 @@ su - postgres
393
394
old one then shut down the old server, at the latest before you
394
395
install the new files:
395
396
<screen>
396
- <userinput>kill -INT `cat /usr/local/pgsql/data/postmaster.pid | sed 1q` </>
397
+ <userinput>pg_ctl stop </>
397
398
</screen>
398
- Versions prior to 7.0 do not have this
399
- <filename>postmaster.pid</> file. If you are using such a version
400
- you must find out the process ID of the server yourself, for
401
- example by typing <userinput>ps ax | grep postmaster</>, and
402
- supply it to the <command>kill</> command.
399
+ On systems that have <productname>PostgreSQL</> started at boot time,
400
+ there is probably a start-up file that will accomplish the same thing. For
401
+ example, on a <systemitem class="osname">Red Hat Linux</> system one
402
+ might find that
403
+ <screen>
404
+ <userinput>/etc/rc.d/init.d/postgresql stop</userinput>
405
+ </screen>
406
+ works.
403
407
</para>
404
408
405
409
<para>
406
- On systems that have <productname>PostgreSQL</> started at boot time, there is
407
- probably a start-up file that will accomplish the same thing. For
408
- example, on a <systemitem class="osname">Red Hat Linux</> system one might find that
410
+ Very old versions might not have <application>pg_ctl</>. If you
411
+ can't find it or it doesn't work, find out the process ID of the
412
+ old server, for
413
+ example by typing <userinput>ps ax | grep postmaster</>, and
414
+ signal it to stop this way:
409
415
<screen>
410
- <userinput>/etc/rc.d/init.d/postgresql stop </userinput>
416
+ <userinput>kill -INT <replaceable>processID</> </userinput>
411
417
</screen>
412
- works. Another possibility is <userinput>pg_ctl stop</>.
413
418
</para>
414
419
</step>
415
420
@@ -443,10 +448,10 @@ su - postgres
443
448
</para>
444
449
445
450
<para>
446
- These topics are discussed at length in <![%standalone-include[the
447
- documentation,]]> <![%standalone-ignore[<xref
448
- linkend="migration">,]]> which you are encouraged to read in any
449
- case.
451
+ Further discussion appears in
452
+ <![%standalone-include[the documentation,]]>
453
+ <![%standalone-ignore[<xref linkend="migration">,]]>
454
+ which you are encouraged to read in any case.
450
455
</para>
451
456
</sect1>
452
457
@@ -691,7 +696,7 @@ su - postgres
691
696
Enables Native Language Support (<acronym>NLS</acronym>),
692
697
that is, the ability to display a program's messages in a
693
698
language other than English.
694
- <replaceable>LANGUAGES</replaceable> is a space separated
699
+ <replaceable>LANGUAGES</replaceable> is a space- separated
695
700
list of codes of the languages that you want supported, for
696
701
example <literal>--enable-nls='de fr'</>. (The intersection
697
702
between your list and the set of actually provided
@@ -825,7 +830,7 @@ su - postgres
825
830
<term><option>--without-readline</option></term>
826
831
<listitem>
827
832
<para>
828
- Prevents the use of the <application>Readline</> library. This disables
833
+ Prevents use of the <application>Readline</> library. This disables
829
834
command-line editing and history in
830
835
<application>psql</application>, so it is not recommended.
831
836
</para>
@@ -836,7 +841,8 @@ su - postgres
836
841
<term><option>--with-rendezvous</option></term>
837
842
<listitem>
838
843
<para>
839
- Build with Rendezvous support.
844
+ Build with Rendezvous support. This requires Rendezvous support
845
+ in your operating system. Recommended on Mac OS X.
840
846
</para>
841
847
</listitem>
842
848
</varlistentry>
@@ -864,7 +870,8 @@ su - postgres
864
870
Make the client libraries thread-safe. This allows
865
871
concurrent threads in <application>libpq</application> and
866
872
<application>ECPG</application> programs to safely control
867
- their private connection handles.
873
+ their private connection handles. This option requires adequate
874
+ threading support in your operating system.
868
875
</para>
869
876
</listitem>
870
877
</varlistentry>
@@ -873,8 +880,12 @@ su - postgres
873
880
<term><option>--without-zlib</option></term>
874
881
<listitem>
875
882
<para>
876
- Prevents the use of the <application>Zlib</> library. This disables
877
- compression support in <application>pg_dump</application>.
883
+ <indexterm>
884
+ <primary>zlib</primary>
885
+ </indexterm>
886
+ Prevents use of the <application>Zlib</> library. This disables
887
+ support for compressed archives in <application>pg_dump</application>
888
+ and <application>pg_restore</application>.
878
889
This option is only intended for those rare systems where this
879
890
library is not available.
880
891
</para>
@@ -936,12 +947,12 @@ su - postgres
936
947
937
948
<para>
938
949
If you prefer a C compiler different from the one
939
- <filename>configure</filename> picks then you can set the
950
+ <filename>configure</filename> picks, you can set the
940
951
environment variable <envar>CC</> to the program of your choice.
941
952
By default, <filename>configure</filename> will pick
942
- <filename>gcc</filename> unless this is inappropriate for the
943
- platform . Similarly, you can override the default compiler flags
944
- with the <envar>CFLAGS</envar> variable.
953
+ <filename>gcc</filename> if available, else the platform's
954
+ default (usually <filename>cc</>) . Similarly, you can override the
955
+ default compiler flags if needed with the <envar>CFLAGS</envar> variable.
945
956
</para>
946
957
947
958
<para>
@@ -1002,8 +1013,8 @@ All of PostgreSQL is successfully made. Ready to install.
1002
1013
<note>
1003
1014
<para>
1004
1015
If you are upgrading an existing system and are going to install
1005
- the new files over the old ones, then you should have backed up
1006
- your data and shut down the old server by now , as explained in
1016
+ the new files over the old ones, be sure to back up
1017
+ your data and shut down the old server before proceeding , as explained in
1007
1018
<xref linkend="install-upgrading"> above.
1008
1019
</para>
1009
1020
</note>
@@ -1036,8 +1047,11 @@ All of PostgreSQL is successfully made. Ready to install.
1036
1047
1037
1048
<para>
1038
1049
The standard installation provides all the header files needed for client
1039
- application development as well as for any server-side program
1040
- development (such as custom functions or data types written in C).
1050
+ application development as well as for server-side program
1051
+ development, such as custom functions or data types written in C.
1052
+ (Prior to <productname>PostgreSQL</> 8.0, a separate <literal>gmake
1053
+ install-all-headers</> command was needed for the latter, but this
1054
+ step has been folded into the standard install.)
1041
1055
</para>
1042
1056
1043
1057
<formalpara>
0 commit comments