Commit 7cc37511 authored by Tom Lane's avatar Tom Lane

Minor updates and copy-editing.

parent c62465cb
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.218 2004/12/24 18:37:26 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.219 2004/12/24 19:12:36 tgl Exp $ -->
<chapter id="installation"> <chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]> <title><![%standalone-include[<productname>PostgreSQL</>]]>
...@@ -146,7 +146,7 @@ su - postgres ...@@ -146,7 +146,7 @@ su - postgres
<filename>libperl</filename> library must be a shared library <filename>libperl</filename> library must be a shared library
also on most platforms. This appears to be the default in also on most platforms. This appears to be the default in
recent <productname>Perl</productname> versions, but it was not recent <productname>Perl</productname> versions, but it was not
in earlier versions, and in general it is the choice of whomever in earlier versions, and in any case it is the choice of whomever
installed Perl at your site. installed Perl at your site.
</para> </para>
...@@ -238,8 +238,9 @@ su - postgres ...@@ -238,8 +238,9 @@ su - postgres
<listitem> <listitem>
<para> <para>
<application>Kerberos</>, <productname>OpenSSL</>, or <application>PAM</>, <application>Kerberos</>, <productname>OpenSSL</>, or
if you want to support authentication using these services. <application>PAM</>, if you want to support authentication or
encryption using these services.
</para> </para>
</listitem> </listitem>
</itemizedlist> </itemizedlist>
...@@ -393,23 +394,27 @@ su - postgres ...@@ -393,23 +394,27 @@ su - postgres
old one then shut down the old server, at the latest before you old one then shut down the old server, at the latest before you
install the new files: install the new files:
<screen> <screen>
<userinput>kill -INT `cat /usr/local/pgsql/data/postmaster.pid | sed 1q`</> <userinput>pg_ctl stop</>
</screen> </screen>
Versions prior to 7.0 do not have this On systems that have <productname>PostgreSQL</> started at boot time,
<filename>postmaster.pid</> file. If you are using such a version there is probably a start-up file that will accomplish the same thing. For
you must find out the process ID of the server yourself, for example, on a <systemitem class="osname">Red Hat Linux</> system one
example by typing <userinput>ps ax | grep postmaster</>, and might find that
supply it to the <command>kill</> command. <screen>
<userinput>/etc/rc.d/init.d/postgresql stop</userinput>
</screen>
works.
</para> </para>
<para> <para>
On systems that have <productname>PostgreSQL</> started at boot time, there is Very old versions might not have <application>pg_ctl</>. If you
probably a start-up file that will accomplish the same thing. For can't find it or it doesn't work, find out the process ID of the
example, on a <systemitem class="osname">Red Hat Linux</> system one might find that old server, for
example by typing <userinput>ps ax | grep postmaster</>, and
signal it to stop this way:
<screen> <screen>
<userinput>/etc/rc.d/init.d/postgresql stop</userinput> <userinput>kill -INT <replaceable>processID</></userinput>
</screen> </screen>
works. Another possibility is <userinput>pg_ctl stop</>.
</para> </para>
</step> </step>
...@@ -443,10 +448,10 @@ su - postgres ...@@ -443,10 +448,10 @@ su - postgres
</para> </para>
<para> <para>
These topics are discussed at length in <![%standalone-include[the Further discussion appears in
documentation,]]> <![%standalone-ignore[<xref <![%standalone-include[the documentation,]]>
linkend="migration">,]]> which you are encouraged to read in any <![%standalone-ignore[<xref linkend="migration">,]]>
case. which you are encouraged to read in any case.
</para> </para>
</sect1> </sect1>
...@@ -691,7 +696,7 @@ su - postgres ...@@ -691,7 +696,7 @@ su - postgres
Enables Native Language Support (<acronym>NLS</acronym>), Enables Native Language Support (<acronym>NLS</acronym>),
that is, the ability to display a program's messages in a that is, the ability to display a program's messages in a
language other than English. language other than English.
<replaceable>LANGUAGES</replaceable> is a space separated <replaceable>LANGUAGES</replaceable> is a space-separated
list of codes of the languages that you want supported, for list of codes of the languages that you want supported, for
example <literal>--enable-nls='de fr'</>. (The intersection example <literal>--enable-nls='de fr'</>. (The intersection
between your list and the set of actually provided between your list and the set of actually provided
...@@ -825,7 +830,7 @@ su - postgres ...@@ -825,7 +830,7 @@ su - postgres
<term><option>--without-readline</option></term> <term><option>--without-readline</option></term>
<listitem> <listitem>
<para> <para>
Prevents the use of the <application>Readline</> library. This disables Prevents use of the <application>Readline</> library. This disables
command-line editing and history in command-line editing and history in
<application>psql</application>, so it is not recommended. <application>psql</application>, so it is not recommended.
</para> </para>
...@@ -836,7 +841,8 @@ su - postgres ...@@ -836,7 +841,8 @@ su - postgres
<term><option>--with-rendezvous</option></term> <term><option>--with-rendezvous</option></term>
<listitem> <listitem>
<para> <para>
Build with Rendezvous support. Build with Rendezvous support. This requires Rendezvous support
in your operating system. Recommended on Mac OS X.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -864,7 +870,8 @@ su - postgres ...@@ -864,7 +870,8 @@ su - postgres
Make the client libraries thread-safe. This allows Make the client libraries thread-safe. This allows
concurrent threads in <application>libpq</application> and concurrent threads in <application>libpq</application> and
<application>ECPG</application> programs to safely control <application>ECPG</application> programs to safely control
their private connection handles. their private connection handles. This option requires adequate
threading support in your operating system.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
...@@ -873,8 +880,12 @@ su - postgres ...@@ -873,8 +880,12 @@ su - postgres
<term><option>--without-zlib</option></term> <term><option>--without-zlib</option></term>
<listitem> <listitem>
<para> <para>
Prevents the use of the <application>Zlib</> library. This disables <indexterm>
compression support in <application>pg_dump</application>. <primary>zlib</primary>
</indexterm>
Prevents use of the <application>Zlib</> library. This disables
support for compressed archives in <application>pg_dump</application>
and <application>pg_restore</application>.
This option is only intended for those rare systems where this This option is only intended for those rare systems where this
library is not available. library is not available.
</para> </para>
...@@ -936,12 +947,12 @@ su - postgres ...@@ -936,12 +947,12 @@ su - postgres
<para> <para>
If you prefer a C compiler different from the one If you prefer a C compiler different from the one
<filename>configure</filename> picks then you can set the <filename>configure</filename> picks, you can set the
environment variable <envar>CC</> to the program of your choice. environment variable <envar>CC</> to the program of your choice.
By default, <filename>configure</filename> will pick By default, <filename>configure</filename> will pick
<filename>gcc</filename> unless this is inappropriate for the <filename>gcc</filename> if available, else the platform's
platform. Similarly, you can override the default compiler flags default (usually <filename>cc</>). Similarly, you can override the
with the <envar>CFLAGS</envar> variable. default compiler flags if needed with the <envar>CFLAGS</envar> variable.
</para> </para>
<para> <para>
...@@ -1002,8 +1013,8 @@ All of PostgreSQL is successfully made. Ready to install. ...@@ -1002,8 +1013,8 @@ All of PostgreSQL is successfully made. Ready to install.
<note> <note>
<para> <para>
If you are upgrading an existing system and are going to install If you are upgrading an existing system and are going to install
the new files over the old ones, then you should have backed up the new files over the old ones, be sure to back up
your data and shut down the old server by now, as explained in your data and shut down the old server before proceeding, as explained in
<xref linkend="install-upgrading"> above. <xref linkend="install-upgrading"> above.
</para> </para>
</note> </note>
...@@ -1036,8 +1047,11 @@ All of PostgreSQL is successfully made. Ready to install. ...@@ -1036,8 +1047,11 @@ All of PostgreSQL is successfully made. Ready to install.
<para> <para>
The standard installation provides all the header files needed for client The standard installation provides all the header files needed for client
application development as well as for any server-side program application development as well as for server-side program
development (such as custom functions or data types written in C). development, such as custom functions or data types written in C.
(Prior to <productname>PostgreSQL</> 8.0, a separate <literal>gmake
install-all-headers</> command was needed for the latter, but this
step has been folded into the standard install.)
</para> </para>
<formalpara> <formalpara>
......
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/postgres.sgml,v 1.69 2004/12/23 05:37:39 tgl Exp $ $PostgreSQL: pgsql/doc/src/sgml/postgres.sgml,v 1.70 2004/12/24 19:12:37 tgl Exp $
--> -->
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [ <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook V4.2//EN" [
...@@ -117,7 +117,7 @@ $PostgreSQL: pgsql/doc/src/sgml/postgres.sgml,v 1.69 2004/12/23 05:37:39 tgl Exp ...@@ -117,7 +117,7 @@ $PostgreSQL: pgsql/doc/src/sgml/postgres.sgml,v 1.69 2004/12/23 05:37:39 tgl Exp
<productname>PostgreSQL</> database administrator. This includes <productname>PostgreSQL</> database administrator. This includes
installation of the software, set up and configuration of the installation of the software, set up and configuration of the
server, management of users and databases, and maintenance tasks. server, management of users and databases, and maintenance tasks.
Anyone who runs a <productname>PostgreSQL</> server, either for Anyone who runs a <productname>PostgreSQL</> server, even for
personal use, but especially in production, should be familiar personal use, but especially in production, should be familiar
with the topics covered in this part. with the topics covered in this part.
</para> </para>
...@@ -135,8 +135,8 @@ $PostgreSQL: pgsql/doc/src/sgml/postgres.sgml,v 1.69 2004/12/23 05:37:39 tgl Exp ...@@ -135,8 +135,8 @@ $PostgreSQL: pgsql/doc/src/sgml/postgres.sgml,v 1.69 2004/12/23 05:37:39 tgl Exp
The first few chapters are written so that they can be understood The first few chapters are written so that they can be understood
without prerequisite knowledge, so that new users who need to set without prerequisite knowledge, so that new users who need to set
up their own server can begin their exploration with this part. up their own server can begin their exploration with this part.
The rest of this part which is about tuning and management The rest of this part is about tuning and management; that material
presupposes that the reader is familiar with the general use of assumes that the reader is familiar with the general use of
the <productname>PostgreSQL</> database system. Readers are the <productname>PostgreSQL</> database system. Readers are
encouraged to look at <xref linkend="tutorial"> and <xref encouraged to look at <xref linkend="tutorial"> and <xref
linkend="sql"> for additional information. linkend="sql"> for additional information.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment