mirror of
https://github.com/postgres/postgres.git
synced 2025-09-05 02:22:28 +03:00
Fix broken markup, strange tab width.
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.31 2007/03/13 16:03:35 mha Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/install-win32.sgml,v 1.32 2007/03/14 00:15:26 tgl Exp $ -->
|
||||||
|
|
||||||
<chapter id="install-win32">
|
<chapter id="install-win32">
|
||||||
<title>Installation on <productname>Windows</productname></title>
|
<title>Installation on <productname>Windows</productname></title>
|
||||||
@@ -71,68 +71,68 @@
|
|||||||
<title>Requirements</title>
|
<title>Requirements</title>
|
||||||
<para>
|
<para>
|
||||||
PostgreSQL will build using either the professional versions (any edition)
|
PostgreSQL will build using either the professional versions (any edition)
|
||||||
or the free Express edition of
|
or the free Express edition of
|
||||||
<productname>Visual Studio 2005</productname>. The following additional products
|
<productname>Visual Studio 2005</productname>. The following additional products
|
||||||
are required to build the complete package. Use the
|
are required to build the complete package. Use the
|
||||||
<filename>config.pl</filename> to specify which directories the libraries
|
<filename>config.pl</filename> to specify which directories the libraries
|
||||||
are available in.
|
are available in.
|
||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>ActiveState Perl</productname></term>
|
<term><productname>ActiveState Perl</productname></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
ActiveState Perl is required to run the build generation scripts. MinGW
|
ActiveState Perl is required to run the build generation scripts. MinGW
|
||||||
or Cygwin perl will not work. It must also be present in the PATH.
|
or Cygwin perl will not work. It must also be present in the PATH.
|
||||||
Binaries can be downloaded from
|
Binaries can be downloaded from
|
||||||
<ulink url="http://www.activestate.com"></>.
|
<ulink url="http://www.activestate.com"></>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>ActiveState TCL</productname></term>
|
<term><productname>ActiveState TCL</productname></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Required for building <application>PL/TCL</application>.
|
Required for building <application>PL/TCL</application>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>Bison</productname> and
|
<term><productname>Bison</productname> and
|
||||||
<productname>Flex</productname></term>
|
<productname>Flex</productname></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Bison and Flex are required to build from CVS, but not required when
|
Bison and Flex are required to build from CVS, but not required when
|
||||||
building from a release file. Note that Bison version 2.0 will not
|
building from a release file. Note that Bison version 2.0 will not
|
||||||
work, but both earlier and later versions do. Bison and Flex can be
|
work, but both earlier and later versions do. Bison and Flex can be
|
||||||
downloaded from <ulink url="http://gnuwin32.sourceforge.net"></>.
|
downloaded from <ulink url="http://gnuwin32.sourceforge.net"></>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>Microsoft Platform SDK</productname></term>
|
<term><productname>Microsoft Platform SDK</productname></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
It is recommended that you upgrade to the latest available version
|
It is recommended that you upgrade to the latest available version
|
||||||
of the <productname>Microsoft Platform SDK</productname>, available
|
of the <productname>Microsoft Platform SDK</productname>, available
|
||||||
for download from <ulink url="http://www.microsoft.com/downloads/"></>.
|
for download from <ulink url="http://www.microsoft.com/downloads/"></>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>MIT Kerberos</productname></term>
|
<term><productname>MIT Kerberos</productname></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Required for Kerberos authentication support. MIT Kerberos can be
|
Required for Kerberos authentication support. MIT Kerberos can be
|
||||||
downloaded from
|
downloaded from
|
||||||
<ulink url="http://web.mit.edu/Kerberos/dist/index.html"></>.
|
<ulink url="http://web.mit.edu/Kerberos/dist/index.html"></>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>libxml2</productname> and
|
<term><productname>libxml2</productname> and
|
||||||
<productname>libxslt</productname></term>
|
<productname>libxslt</productname></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Required for XML support. Binaries can be downloaded from
|
Required for XML support. Binaries can be downloaded from
|
||||||
<ulink url="http://zlatkovic.com/pub/libxml"></> or source from
|
<ulink url="http://zlatkovic.com/pub/libxml"></> or source from
|
||||||
<ulink url="http://xmlsoft.org"></>. Note that libxml2 requires iconv,
|
<ulink url="http://xmlsoft.org"></>. Note that libxml2 requires iconv,
|
||||||
which is available from the same download location.
|
which is available from the same download location.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
@@ -140,34 +140,34 @@
|
|||||||
<listitem><para>
|
<listitem><para>
|
||||||
Required for SSL support. Binaries can be downloaded from
|
Required for SSL support. Binaries can be downloaded from
|
||||||
<ulink url="http://www.slproweb.com/products/Win32OpenSSL.html"></>
|
<ulink url="http://www.slproweb.com/products/Win32OpenSSL.html"></>
|
||||||
or source from <ulink url="http://www.openssl.org"></>.
|
or source from <ulink url="http://www.openssl.org"></>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>pthreads</productname></term>
|
<term><productname>pthreads</productname></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Required for building the <application>ECPG</application> libraries.
|
Required for building the <application>ECPG</application> libraries.
|
||||||
Binaries can be downloaded from
|
Binaries can be downloaded from
|
||||||
<ulink url="ftp://sources.redhat.com/pub/pthreads-win32"></>.
|
<ulink url="ftp://sources.redhat.com/pub/pthreads-win32"></>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>Python</productname></term>
|
<term><productname>Python</productname></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Required for building <application>PL/Python</application>. Binaries can
|
Required for building <application>PL/Python</application>. Binaries can
|
||||||
be downloaded from <ulink url="http://www.python.org"></>.
|
be downloaded from <ulink url="http://www.python.org"></>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><productname>zlib</productname></term>
|
<term><productname>zlib</productname></term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Required for compression support in <application>pg_dump</application>
|
Required for compression support in <application>pg_dump</application>
|
||||||
and <application>pg_restore</application>. Binaries can be downloaded
|
and <application>pg_restore</application>. Binaries can be downloaded
|
||||||
from <ulink url="http://www.zlib.net"></>.
|
from <ulink url="http://www.zlib.net"></>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
</variablelist>
|
</variablelist>
|
||||||
@@ -179,7 +179,7 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
To build all of PostgreSQL in debug configuration (the default), run the
|
To build all of PostgreSQL in debug configuration (the default), run the
|
||||||
command:
|
command:
|
||||||
<screen>
|
<screen>
|
||||||
<userinput>
|
<userinput>
|
||||||
build
|
build
|
||||||
@@ -204,15 +204,15 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
It is also possible to build from inside the Visual Studio GUI. In this
|
It is also possible to build from inside the Visual Studio GUI. In this
|
||||||
case, you need to run:
|
case, you need to run:
|
||||||
<screen>
|
<screen>
|
||||||
<userinput>
|
<userinput>
|
||||||
perl mkvcbuild.pl
|
perl mkvcbuild.pl
|
||||||
</userinput>
|
</userinput>
|
||||||
</screen>
|
</screen>
|
||||||
from the command prompt, and then open the generated
|
from the command prompt, and then open the generated
|
||||||
<filename>pgsql.sln</filename> (in the root directory of the source tree)
|
<filename>pgsql.sln</filename> (in the root directory of the source tree)
|
||||||
in Visual Studio.
|
in Visual Studio.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
@@ -221,17 +221,17 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Most of the time, the automatic dependency tracking in Visual Studio will
|
Most of the time, the automatic dependency tracking in Visual Studio will
|
||||||
handle changed files. But if there have been large changes, you may need
|
handle changed files. But if there have been large changes, you may need
|
||||||
to clean the installation. To do this, simply run the
|
to clean the installation. To do this, simply run the
|
||||||
<filename>clean.bat</filename> command, which will automatically clean out
|
<filename>clean.bat</filename> command, which will automatically clean out
|
||||||
all generated files.
|
all generated files.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
By default, all files are written into a subdirectory of the
|
By default, all files are written into a subdirectory of the
|
||||||
<filename>debug</filename> or <filename>release</filename> directories. To
|
<filename>debug</filename> or <filename>release</filename> directories. To
|
||||||
install these files using the standard layout, and also generate the files
|
install these files using the standard layout, and also generate the files
|
||||||
required to initialize and use the database, run the command:
|
required to initialize and use the database, run the command:
|
||||||
<screen>
|
<screen>
|
||||||
<userinput>
|
<userinput>
|
||||||
perl install.pl c:\destination\directory
|
perl install.pl c:\destination\directory
|
||||||
@@ -245,15 +245,15 @@
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Building the PostgreSQL documentation in HTML format requires several tools
|
Building the PostgreSQL documentation in HTML format requires several tools
|
||||||
and files. Create a root directory for all these files, and store them
|
and files. Create a root directory for all these files, and store them
|
||||||
in the subdirectories in the list below.
|
in the subdirectories in the list below.
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>OpenJade 1.3.1-2</term>
|
<term>OpenJade 1.3.1-2</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Download from
|
Download from
|
||||||
<ulink url="http://sourceforge.net/project/downloading.php?groupname=openjade&filename=openjade-1_3_1-2-bin.zip"></>
|
<ulink url="http://sourceforge.net/project/downloading.php?groupname=openjade&filename=openjade-1_3_1-2-bin.zip"></>
|
||||||
and uncompress in the subdirectory <filename>openjade-1.3.1</filename>.
|
and uncompress in the subdirectory <filename>openjade-1.3.1</filename>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@@ -261,8 +261,8 @@
|
|||||||
<term>DocBook DTD 4.2</term>
|
<term>DocBook DTD 4.2</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Download from
|
Download from
|
||||||
<ulink url="http://www.oasis-open.org/docbook/sgml/4.2/docbook-4.2.zip"></>
|
<ulink url="http://www.oasis-open.org/docbook/sgml/4.2/docbook-4.2.zip"></>
|
||||||
and uncompress in the subdirectory <filename>docbook</filename>.
|
and uncompress in the subdirectory <filename>docbook</filename>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@@ -272,7 +272,7 @@
|
|||||||
Download from
|
Download from
|
||||||
<ulink url="http://sourceforge.net/project/downloading.php?groupname=docbook&filename=docbook-dsssl-1.79.zip"></>
|
<ulink url="http://sourceforge.net/project/downloading.php?groupname=docbook&filename=docbook-dsssl-1.79.zip"></>
|
||||||
and uncompress in the subdirectory
|
and uncompress in the subdirectory
|
||||||
<filename>docbook-dsssl-1.79</filename>.
|
<filename>docbook-dsssl-1.79</filename>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@@ -280,21 +280,21 @@
|
|||||||
<term>ISO character entities</term>
|
<term>ISO character entities</term>
|
||||||
<listitem><para>
|
<listitem><para>
|
||||||
Download from
|
Download from
|
||||||
<ulink url="http://www.oasis-open.org/cover/ISOEnts.zip"></> and
|
<ulink url="http://www.oasis-open.org/cover/ISOEnts.zip"></> and
|
||||||
uncompress in the subdirectory <filename>docbook</filename>.
|
uncompress in the subdirectory <filename>docbook</filename>.
|
||||||
</para></listitem>
|
</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
Edit the <filename>buildenv.bat</filename> file, and add a variable for the
|
Edit the <filename>buildenv.bat</filename> file, and add a variable for the
|
||||||
location of the root directory, for example:
|
location of the root directory, for example:
|
||||||
<screen>
|
<screen>
|
||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
SET DOCROOT=c:\docbook
|
SET DOCROOT=c:\docbook
|
||||||
</screen>
|
</screen>
|
||||||
To build the documentation, run the command
|
To build the documentation, run the command
|
||||||
<filename>builddoc.bat</filename>. Note that this will actually run the
|
<filename>builddoc.bat</filename>. Note that this will actually run the
|
||||||
build twice, in order to generate the indexes. The generated HTML files
|
build twice, in order to generate the indexes. The generated HTML files
|
||||||
will be in <filename>doc\src\sgml</filename>.
|
will be in <filename>doc\src\sgml</filename>.
|
||||||
</para>
|
</para>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
<!-- $PostgreSQL: pgsql/doc/src/sgml/lobj.sgml,v 1.45 2007/03/03 19:52:45 momjian Exp $ -->
|
<!-- $PostgreSQL: pgsql/doc/src/sgml/lobj.sgml,v 1.46 2007/03/14 00:15:26 tgl Exp $ -->
|
||||||
|
|
||||||
<chapter id="largeObjects">
|
<chapter id="largeObjects">
|
||||||
<title id="largeObjects-title">Large Objects</title>
|
<title id="largeObjects-title">Large Objects</title>
|
||||||
@@ -331,6 +331,7 @@ int lo_truncate(PGcon *conn, int fd, size_t len);
|
|||||||
8.3; if this function is run against an older server version, it will
|
8.3; if this function is run against an older server version, it will
|
||||||
fail and return a negative value.
|
fail and return a negative value.
|
||||||
</para>
|
</para>
|
||||||
|
</sect2>
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
<title>Closing a Large Object Descriptor</title>
|
<title>Closing a Large Object Descriptor</title>
|
||||||
|
Reference in New Issue
Block a user