Commit cdd402f8 authored by Tom Lane's avatar Tom Lane

More minor updates and copy-editing.

parent 5cfdd68f
This diff is collapsed.
<!-- <!--
$PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.21 2004/12/24 19:20:18 momjian Exp $ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.22 2004/12/26 23:06:56 tgl Exp $
--> -->
<chapter id="install-win32"> <chapter id="install-win32">
...@@ -11,9 +11,9 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.21 2004/12/24 19:20:18 mo ...@@ -11,9 +11,9 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.21 2004/12/24 19:20:18 mo
</indexterm> </indexterm>
<para> <para>
Although <productname>PostgreSQL</productname> is written for Although a complete <productname>PostgreSQL</productname> installation
Unix-like operating systems and can be built using for <productname>Windows</> can only be built using
<productname>MinGW</productname> and <productname>MinGW</productname> or
<productname>Cygwin</productname>, the C client library <productname>Cygwin</productname>, the C client library
(<application>libpq</application>) and the interactive terminal (<application>libpq</application>) and the interactive terminal
(<application>psql</application>) can be compiled using other Windows (<application>psql</application>) can be compiled using other Windows
...@@ -25,10 +25,9 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.21 2004/12/24 19:20:18 mo ...@@ -25,10 +25,9 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.21 2004/12/24 19:20:18 mo
<tip> <tip>
<para> <para>
If you are using a Windows NT-based operating system or newer you can Using <productname>MinGW</productname> or
build and use all of <productname>PostgreSQL</productname> <quote>the <productname>Cygwin</productname> is preferred. If using one of
Unix way</quote> if you install the <productname>MinGW</productname> those tool sets, see <xref linkend="installation">.
toolkit first. In that case see <xref linkend="installation">.
</para> </para>
</tip> </tip>
...@@ -110,7 +109,7 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.21 2004/12/24 19:20:18 mo ...@@ -110,7 +109,7 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.21 2004/12/24 19:20:18 mo
on this machine, you will have to add the on this machine, you will have to add the
<filename>src\include</filename> and <filename>src\include</filename> and
<filename>src\interfaces\libpq</filename> subdirectories of the source <filename>src\interfaces\libpq</filename> subdirectories of the source
tree to the include path in your compilers settings. tree to the include path in your compiler's settings.
</para> </para>
<para> <para>
...@@ -123,10 +122,10 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.21 2004/12/24 19:20:18 mo ...@@ -123,10 +122,10 @@ $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.21 2004/12/24 19:20:18 mo
<application>psql</application> is compiled as a <quote>console <application>psql</application> is compiled as a <quote>console
application</>. As the Windows console windows use a different application</>. As the Windows console windows use a different
encoding than the rest of the system, you must take special care encoding than the rest of the system, you must take special care
when using 8-bit characters at the <application>psql</application> when using 8-bit characters within <application>psql</application>.
prompt. When <application>psql</application> detects a problematic If <application>psql</application> detects a problematic
console code page, it will warn you at startup. To change the console code page, it will warn you at startup. To change the
console code page, two things are neccessary: console code page, two things are necessary:
<itemizedlist> <itemizedlist>
<listitem> <listitem>
......
<!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.220 2004/12/24 19:20:18 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/installation.sgml,v 1.221 2004/12/26 23:06:56 tgl Exp $ -->
<chapter id="installation"> <chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]> <title><![%standalone-include[<productname>PostgreSQL</>]]>
...@@ -109,7 +109,10 @@ su - postgres ...@@ -109,7 +109,10 @@ su - postgres
<filename>configure</>. (On <productname>NetBSD</productname>, <filename>configure</>. (On <productname>NetBSD</productname>,
the <filename>libedit</filename> library is the <filename>libedit</filename> library is
<productname>Readline</productname>-compatible and is used if <productname>Readline</productname>-compatible and is used if
<filename>libreadline</filename> is not found.) <filename>libreadline</filename> is not found.) If you are using
a package-based Linux distribution, be aware that you need both
the <literal>readline</> and <literal>readline-devel</> packages,
if those are separate in your distribution.
</para> </para>
</listitem> </listitem>
...@@ -120,14 +123,22 @@ su - postgres ...@@ -120,14 +123,22 @@ su - postgres
<secondary>on Windows</secondary> <secondary>on Windows</secondary>
</indexterm> </indexterm>
To build on <productname>NT</>-based versions of Additional software is needed to build
<productname>Windows</> like Windows XP and 2003 see <productname>PostgreSQL</productname> on <productname>Windows</>.
<filename>doc/FAQ_MINGW</>. For earlier <productname>Windows</> You can build <productname>PostgreSQL</productname> for
releases see <filename>doc/FAQ_CYGWIN</>. <productname>NT</>-based versions of <productname>Windows</>
(like Windows XP and 2003) using <productname>MinGW</productname>;
To build <productname>Windows</> client-only interfaces using see <filename>doc/FAQ_MINGW</> for details. You can also build
tools like <productname>Visual C++</> and <productname>Borland <productname>PostgreSQL</productname> using
C++</> see <productname>Cygwin</productname>; see <filename>doc/FAQ_CYGWIN</>.
A <productname>Cygwin</productname>-based build will work on older
versions of <productname>Windows</>, but if you have a choice,
we recommend the <productname>MinGW</productname> approach.
While these are the only tool sets recommended for a complete build,
it is possible to build just the C client library
(<application>libpq</application>) and the interactive terminal
(<application>psql</application>) using other <productname>Windows</>
tool sets. For details of that see
<![%standalone-include[the documentation chapter "Client-Only <![%standalone-include[the documentation chapter "Client-Only
Installation on Windows"]]> <![%standalone-ignore[<xref Installation on Windows"]]> <![%standalone-ignore[<xref
linkend="install-win32">]]>. linkend="install-win32">]]>.
...@@ -245,7 +256,7 @@ su - postgres ...@@ -245,7 +256,7 @@ su - postgres
<listitem> <listitem>
<para> <para>
<application>Kerberos</>, <productname>OpenSSL</>, or <application>Kerberos</>, <productname>OpenSSL</>, and/or
<application>PAM</>, if you want to support authentication or <application>PAM</>, if you want to support authentication or
encryption using these services. encryption using these services.
</para> </para>
...@@ -271,7 +282,7 @@ su - postgres ...@@ -271,7 +282,7 @@ su - postgres
<primary>yacc</primary> <primary>yacc</primary>
</indexterm> </indexterm>
<application>Flex</> and <application>Bison</> GNU <application>Flex</> and <application>Bison</>
are needed to build a CVS checkout or if you changed the actual are needed to build a CVS checkout or if you changed the actual
scanner and parser definition files. If you need them, be sure scanner and parser definition files. If you need them, be sure
to get <application>Flex</> 2.5.4 or later and to get <application>Flex</> 2.5.4 or later and
...@@ -299,7 +310,7 @@ su - postgres ...@@ -299,7 +310,7 @@ su - postgres
25 MB, databases take about five times the amount of space that a 25 MB, databases take about five times the amount of space that a
flat text file with the same data would take. If you are going to flat text file with the same data would take. If you are going to
run the regression tests you will temporarily need up to an extra run the regression tests you will temporarily need up to an extra
90 MB. Use the <command>df</command> command to check for disk 90 MB. Use the <command>df</command> command to check free disk
space. space.
</para> </para>
</sect1> </sect1>
...@@ -416,9 +427,11 @@ su - postgres ...@@ -416,9 +427,11 @@ su - postgres
<para> <para>
Very old versions might not have <application>pg_ctl</>. If you Very old versions might not have <application>pg_ctl</>. If you
can't find it or it doesn't work, find out the process ID of the can't find it or it doesn't work, find out the process ID of the
old server, for old server, for example by typing
example by typing <userinput>ps ax | grep postmaster</>, and <screen>
signal it to stop this way: <userinput>ps ax | grep postmaster</userinput>
</screen>
and signal it to stop this way:
<screen> <screen>
<userinput>kill -INT <replaceable>processID</></userinput> <userinput>kill -INT <replaceable>processID</></userinput>
</screen> </screen>
...@@ -1108,8 +1121,10 @@ All of PostgreSQL is successfully made. Ready to install. ...@@ -1108,8 +1121,10 @@ All of PostgreSQL is successfully made. Ready to install.
program, so that you can rebuild everything with <command>gmake</> program, so that you can rebuild everything with <command>gmake</>
later on. To reset the source tree to the state in which it was later on. To reset the source tree to the state in which it was
distributed, use <command>gmake distclean</>. If you are going to distributed, use <command>gmake distclean</>. If you are going to
build for several platforms from the same source tree you must do build for several platforms within the same source tree you must do
this and re-configure for each build. this and re-configure for each build. (Alternatively, use
a separate build tree for each platform, so that the source tree
remains unmodified.)
</para> </para>
</formalpara> </formalpara>
......
This diff is collapsed.
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