Commit e0a77f56 authored by Bruce Momjian's avatar Bruce Momjian

Cleanup of SGML

parent c0ad5953
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.30 2002/08/20 02:20:48 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/pg_dumpall.sgml,v 1.31 2002/08/27 03:55:17 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -67,89 +67,97 @@ PostgreSQL documentation ...@@ -67,89 +67,97 @@ PostgreSQL documentation
operators should be used to redirect it into a file. operators should be used to redirect it into a file.
</para> </para>
<refsect2>
<title>Options</title>
<para> <para>
<application>pg_dumpall</application> accepts the following <application>pg_dumpall</application> will need to connect several times to the
command line arguments: <productname>PostgreSQL</productname> server, asking for the password each
time. It will probably be very convenient to have a PGPASSWORDFILE in that case.
</para>
</refsect1>
<refsect1>
<title>Options</title>
<variablelist> <para>
<varlistentry> <application>pg_dumpall</application> accepts the following
<term>-c, --clean</term> command line arguments:
<listitem>
<para> <variablelist>
<varlistentry>
<term>-c, --clean</term>
<listitem>
<para>
Include SQL commands to clean (drop) database objects before Include SQL commands to clean (drop) database objects before
recreating them. (This option is fairly useless, since the recreating them. (This option is fairly useless, since the
output script expects to create the databases themselves; output script expects to create the databases themselves;
they would always be empty upon creation.) they would always be empty upon creation.)
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>-g, --globals-only</term> <term>-g, --globals-only</term>
<listitem> <listitem>
<para> <para>
Only dump global objects (users and groups), no databases. Only dump global objects (users and groups), no databases.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>-h <replaceable>host</replaceable></term> <term>-h <replaceable>host</replaceable></term>
<listitem> <listitem>
<para> <para>
Specifies the host name of the machine on which the database Specifies the host name of the machine on which the database
server is running. If host begins with a slash, it is used as server is running. If host begins with a slash, it is used as
the directory for the Unix domain socket. The default is the directory for the Unix domain socket. The default is
taken from the <envar>PGHOST</envar> environment variable, if taken from the <envar>PGHOST</envar> environment variable, if
set, else a Unix domain socket connection is attempted. set, else a Unix domain socket connection is attempted.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>-p <replaceable>port</replaceable></term> <term>-p <replaceable>port</replaceable></term>
<listitem> <listitem>
<para> <para>
The port number on which the server is listening. Defaults to The port number on which the server is listening. Defaults to
the <envar>PGPORT</envar> environment variable, if set, or a the <envar>PGPORT</envar> environment variable, if set, or a
compiled-in default. compiled-in default.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>-U <replaceable>username</replaceable></term> <term>-U <replaceable>username</replaceable></term>
<listitem> <listitem>
<para> <para>
Connect as the given user. Connect as the given user.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term>-W</term> <term>-W</term>
<listitem> <listitem>
<para> <para>
Force a password prompt. This should happen automatically if Force a password prompt. This should happen automatically if
the server requires password authentication. the server requires password authentication.
</para> </para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>
</para> </para>
<para> <para>
Any other command line parameters are passed to the underlying Any other command line parameters are passed to the underlying
<xref linkend="app-pgdump"> <xref linkend="app-pgdump">
calls. This is useful to control some aspects of the output calls. This is useful to control some aspects of the output
format, but some options such as <option>-f</option>, format, but some options such as <option>-f</option>,
<option>-F</option>, <option>-t</option>, and <replaceable <option>-F</option>, <option>-t</option>, and <replaceable
class="parameter">dbname</replaceable> should be avoided. class="parameter">dbname</replaceable> should be avoided.
</para> </para>
</refsect2>
</refsect1> </refsect1>
......
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.23 2002/08/10 16:57:31 petere Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/vacuumdb.sgml,v 1.24 2002/08/27 03:55:17 momjian Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -59,6 +59,14 @@ PostgreSQL documentation ...@@ -59,6 +59,14 @@ PostgreSQL documentation
settings and environment variables available to <application>psql</application> settings and environment variables available to <application>psql</application>
and the <application>libpq</application> front-end library do apply. and the <application>libpq</application> front-end library do apply.
</para> </para>
<para>
<application>vacuumdb</application> will need to connect several times to the
<productname>PostgreSQL</productname> server, asking for the password each
time. It will probably be very convenient to have a PGPASSWORDFILE in that case.
</para>
</refsect1> </refsect1>
......
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