1
0
mirror of https://github.com/postgres/postgres.git synced 2025-06-13 07:41:39 +03:00

Add new reference pages for postmaster and postgres.

Normalize markup for vacuumdb; content is the same.
This commit is contained in:
Thomas G. Lockhart
1999-05-26 17:26:32 +00:00
parent ff8bf5a0ef
commit bb0fc46a90
3 changed files with 77 additions and 66 deletions

View File

@ -122,5 +122,7 @@
<!entity pgDump system "pg_dump.sgml"> <!entity pgDump system "pg_dump.sgml">
<!entity pgDumpall system "pg_dumpall.sgml"> <!entity pgDumpall system "pg_dumpall.sgml">
<!entity pgUpgrade system "pg_upgrade.sgml"> <!entity pgUpgrade system "pg_upgrade.sgml">
<!entity postgres system "postgres-ref.sgml">
<!entity postmaster system "postmaster.sgml">
<!entity psqlRef system "psql-ref.sgml"> <!entity psqlRef system "psql-ref.sgml">
<!entity vacuumdb system "vacuumdb.sgml"> <!entity vacuumdb system "vacuumdb.sgml">

View File

@ -87,12 +87,13 @@ functions supported by <productname>Postgres</productname>.
--> -->
<chapter Id="utilities"> <chapter Id="utilities">
<title>Utility Applications</title> <title>Applications</title>
<abstract> <abstract>
<para> <para>
This is reference information for the This is reference information for
<productname>Postgres</productname> support utilities. <productname>Postgres</productname> applications
and support utilities.
</para> </para>
</abstract> </abstract>
@ -106,6 +107,8 @@ functions supported by <productname>Postgres</productname>.
&pgAdmin; &pgAdmin;
&pgDump; &pgDump;
&pgDumpall; &pgDumpall;
&postgres;
&postmaster;
&psqlRef; &psqlRef;
&vacuumdb; &vacuumdb;

View File

@ -1,37 +1,40 @@
<REFENTRY ID="APP-VACUUMDB"> <refentry id="APP-VACUUMDB">
<REFMETA> <refmeta>
<REFENTRYTITLE> <refentrytitle>
<application>vacuumdb</application> <application>vacuumdb</application>
</REFENTRYTITLE> </refentrytitle>
<REFMISCINFO>Application</REFMISCINFO> <refmiscinfo>Application</refmiscinfo>
</REFMETA> </refmeta>
<REFNAMEDIV> <refnamediv>
<REFNAME id="vacuumdb"> <refname id="vacuumdb">
<application>vacuumdb</application> <application>vacuumdb</application>
</REFNAME> </refname>
<REFPURPOSE> <refpurpose>
Clean and analyze a <productname>Postgres</productname> database Clean and analyze a <productname>Postgres</productname> database
</REFPURPOSE> </refpurpose>
</refnamediv> </refnamediv>
<REFSYNOPSISDIV> <refsynopsisdiv>
<REFSYNOPSISDIVINFO> <refsynopsisdivinfo>
<DATE>1998-10-04</DATE> <date>1998-10-04</date>
</REFSYNOPSISDIVINFO> </refsynopsisdivinfo>
<SYNOPSIS> <synopsis>
vacuumdb [ --analyze | -z ] [ --verbose | -v ] [ <replaceable class="parameter">dbname</replaceable> ] vacuumdb [ --analyze | -z ] [ --verbose | -v ] [ <replaceable
vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replaceable class="parameter">port</replaceable> ] class="parameter">dbname</replaceable> ]
[ --table '<replaceable class="parameter">table</replaceable> [ ( <replaceable class="parameter">column</replaceable> [,...] ) ]' ] vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p
<replaceable class="parameter">port</replaceable> ]
[ --table '<replaceable class="parameter">table</replaceable> [ (
<replaceable class="parameter">column</replaceable> [,...] ) ]' ]
[ <replaceable class="parameter">dbname</replaceable> ] [ <replaceable class="parameter">dbname</replaceable> ]
</SYNOPSIS> </synopsis>
<REFSECT2 ID="R2-APP-VACUUMDB-1"> <refsect2 id="R2-APP-VACUUMDB-1">
<REFSECT2INFO> <refsect2info>
<DATE>1998-10-04</DATE> <date>1998-10-04</date>
</REFSECT2INFO> </refsect2info>
<TITLE> <title>
Inputs Inputs
</TITLE> </title>
<PARA> <para>
<application>vacuumdb</application> accepts the following command line arguments: <application>vacuumdb</application> accepts the following command line arguments:
<variablelist> <variablelist>
@ -80,10 +83,12 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
<varlistentry> <varlistentry>
<term> <term>
--table <replaceable class="parameter">table</replaceable> [ (<replaceable class="parameter">column</replaceable> [,...]) ] --table <replaceable class="parameter">table</replaceable> [
(<replaceable class="parameter">column</replaceable> [,...]) ]
</term> </term>
<term> <term>
-t <replaceable class="parameter">table</replaceable> [ (<replaceable class="parameter">column</replaceable> [,...]) ] -t <replaceable class="parameter">table</replaceable> [
(<replaceable class="parameter">column</replaceable> [,...]) ]
</term> </term>
<listitem> <listitem>
<para> <para>
@ -148,14 +153,14 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
</para> </para>
</refsect2> </refsect2>
<REFSECT2 ID="R2-APP-VACUUMDB-2"> <refsect2 id="R2-APP-VACUUMDB-2">
<REFSECT2INFO> <refsect2info>
<DATE>1998-10-04</DATE> <date>1998-10-04</date>
</REFSECT2INFO> </refsect2info>
<TITLE> <title>
Outputs Outputs
</TITLE> </title>
<PARA> <para>
<application>vacuumdb</application> executes a <command>VACUUM</command> command <application>vacuumdb</application> executes a <command>VACUUM</command> command
on the specified database, so has not explicit external output. on the specified database, so has not explicit external output.
@ -163,7 +168,8 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
<varlistentry> <varlistentry>
<term> <term>
ERROR: Can't vacuum columns, only tables. You can 'vacuum analyze' columns. ERROR: Can't vacuum columns, only tables. You can 'vacuum analyze' columns.
vacuumdb: database vacuum failed on <replaceable class="parameter">dbname</replaceable>. vacuumdb: database vacuum failed on <replaceable
class="parameter">dbname</replaceable>.
</term> </term>
<listitem> <listitem>
<para> <para>
@ -221,15 +227,15 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
</refsect2> </refsect2>
</refsynopsisdiv> </refsynopsisdiv>
<REFSECT1 ID="R1-APP-VACUUMDB-1"> <refsect1 id="R1-APP-VACUUMDB-1">
<REFSECT1INFO> <refsect1info>
<DATE>1998-10-04</DATE> <date>1998-10-04</date>
</REFSECT1INFO> </refsect1info>
<TITLE> <title>
Description Description
</TITLE> </title>
<PARA> <para>
<application>vacuumdb</application> is a utility for cleaning a <application>vacuumdb</application> is a utility for cleaning a
<productname>Postgres</productname> database. <productname>Postgres</productname> database.
<application>vacuumdb</application> will also generate internal statistics <application>vacuumdb</application> will also generate internal statistics
@ -237,27 +243,27 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
</para> </para>
</refsect1> </refsect1>
<REFSECT1 ID="R1-APP-VACUUMDB-2"> <refsect1 id="R1-APP-VACUUMDB-2">
<REFSECT1INFO> <refsect1info>
<DATE>1998-10-04</DATE> <date>1998-10-04</date>
</REFSECT1INFO> </refsect1info>
<TITLE> <title>
Notes Notes
</TITLE> </title>
<para> <para>
See <xref linkend="vacuum" endterm="vacuum"> for more details. See <xref endterm="vacuum" linkend="vacuum"> for more details.
</para> </para>
</refsect1> </refsect1>
<REFSECT1 ID="R1-APP-VACUUMDB-3"> <refsect1 id="R1-APP-VACUUMDB-3">
<REFSECT1INFO> <refsect1info>
<DATE>1998-10-04</DATE> <date>1998-10-04</date>
</REFSECT1INFO> </refsect1info>
<TITLE> <title>
Usage Usage
</TITLE> </title>
<PARA> <para>
To clean a database of the same name as the user: To clean a database of the same name as the user:
<programlisting> <programlisting>
@ -280,12 +286,12 @@ vacuumdb [ -h <replaceable class="parameter">host</replaceable> ] [ -p <replacea
</programlisting> </programlisting>
</para> </para>
</refsect1> </refsect1>
</REFENTRY> </refentry>
<!-- Keep this comment at the end of the file <!-- Keep this comment at the end of the file
Local variables: Local variables:
mode: sgml mode: sgml
sgml-omittag:t sgml-omittag:nil
sgml-shorttag:t sgml-shorttag:t
sgml-minimize-attributes:nil sgml-minimize-attributes:nil
sgml-always-quote-attributes:t sgml-always-quote-attributes:t