diff options
Diffstat (limited to 'doc/src/sgml/pgupgrade.sgml')
-rw-r--r-- | doc/src/sgml/pgupgrade.sgml | 105 |
1 files changed, 104 insertions, 1 deletions
diff --git a/doc/src/sgml/pgupgrade.sgml b/doc/src/sgml/pgupgrade.sgml index 0fd13fa7037..c12a3bb4da1 100644 --- a/doc/src/sgml/pgupgrade.sgml +++ b/doc/src/sgml/pgupgrade.sgml @@ -1,4 +1,4 @@ -<!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.5 2010/05/18 15:41:36 mha Exp $ --> +<!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.6 2010/05/19 20:20:38 momjian Exp $ --> <sect1 id="pgupgrade"> <title>pg_upgrade</title> @@ -28,6 +28,109 @@ </sect2> <sect2> + <title><application>pg_upgrade</> options</title> + + <para> + <application>pg_upgrade</application> accepts the following command-line arguments: + + <variablelist> + + <varlistentry> + <term><literal>-d</literal> <replaceable>OLDDATADIR</></term> + <term><literal>--old-datadir</literal> <replaceable>OLDDATADIR</></term> + <listitem><para>specify the old cluster data directory</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-D</literal> <replaceable>NEWDATADIR</></term> + <term><literal>--new-datadir</literal> <replaceable>NEWDATADIR</></term> + <listitem><para>specify the new cluster data directory</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-b</literal> <replaceable>OLDBINDIR</></term> + <term><literal>--old-bindir</literal> <replaceable>OLDBINDIR</></term> + <listitem><para>specify the old cluster executable directory</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-B</literal> <replaceable>NEWBINDIR</></term> + <term><literal>--new-bindir</literal> <replaceable>NEWBINDIR</></term> + <listitem><para>specify the new cluster executable directory</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-p</literal> <replaceable>portnum</></term> + <term><literal>--old-port</literal> <replaceable>portnum</></term> + <listitem><para>specify the old cluster port number</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-P</literal> <replaceable>portnum</></term> + <term><literal>--new-port</literal> <replaceable>portnum</></term> + <listitem><para>specify the new cluster port number</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-u</literal> <replaceable>username</></term> + <term><literal>--user</literal> <replaceable>username</></term> + <listitem><para>clusters superuser</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-c</literal></term> + <term><literal>--check</literal></term> + <listitem><para>check clusters only, don't change any data</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-d</literal></term> + <term><literal>--debug</literal></term> + <listitem><para>enable debugging</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-G</literal> <replaceable>DEBUGFILENAME</></term> + <term><literal>--debugfile</literal> <replaceable>DEBUGFILENAME</></term> + <listitem><para>output debugging activity to file</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-k</literal></term> + <term><literal>--link</literal></term> + <listitem><para>link instead of copying files to new cluster</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-l</literal> <replaceable>LOGFILENAME</></term> + <term><literal>--logfile</literal> <replaceable>LOGFILENAME</></term> + <listitem><para>log session activity to file</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-v</literal></term> + <term><literal>--verbose</literal></term> + <listitem><para>enable verbose output</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-V</literal></term> + <term><literal>--version</literal></term> + <listitem><para>display version information, then exit</para></listitem> + </varlistentry> + + <varlistentry> + <term><literal>-h</literal></term> + <term><literal>--help</literal></term> + <listitem><para>show help, then exit</para></listitem> + </varlistentry> + + </variablelist> + </para> + + </sect2> + + <sect2> <title>Upgrade Steps</title> <orderedlist> |