Commit 4b9904a0 authored by Bruce Momjian's avatar Bruce Momjian

Update pg_upgrade docs to show options in alphabetical order, and

improve 8.3 doc limitations paragraph.
parent 00be7541
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.9 2010/05/19 20:47:18 momjian Exp $ --> <!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.10 2010/05/24 17:43:39 momjian Exp $ -->
<sect1 id="pgupgrade"> <sect1 id="pgupgrade">
<title>pg_upgrade</title> <title>pg_upgrade</title>
...@@ -35,18 +35,6 @@ ...@@ -35,18 +35,6 @@
<variablelist> <variablelist>
<varlistentry>
<term><option>-d</option> <replaceable>OLDDATADIR</></term>
<term><option>--old-datadir</option> <replaceable>OLDDATADIR</></term>
<listitem><para>specify the old cluster data directory</para></listitem>
</varlistentry>
<varlistentry>
<term><option>-D</option> <replaceable>NEWDATADIR</></term>
<term><option>--new-datadir</option> <replaceable>NEWDATADIR</></term>
<listitem><para>specify the new cluster data directory</para></listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><option>-b</option> <replaceable>OLDBINDIR</></term> <term><option>-b</option> <replaceable>OLDBINDIR</></term>
<term><option>--old-bindir</option> <replaceable>OLDBINDIR</></term> <term><option>--old-bindir</option> <replaceable>OLDBINDIR</></term>
...@@ -60,31 +48,25 @@ ...@@ -60,31 +48,25 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-p</option> <replaceable>portnum</></term> <term><option>-c</option></term>
<term><option>--old-port</option> <replaceable>portnum</></term> <term><option>--check</option></term>
<listitem><para>specify the old cluster port number</para></listitem> <listitem><para>check clusters only, don't change any data</para></listitem>
</varlistentry>
<varlistentry>
<term><option>-P</option> <replaceable>portnum</></term>
<term><option>--new-port</option> <replaceable>portnum</></term>
<listitem><para>specify the new cluster port number</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-u</option> <replaceable>username</></term> <term><option>-d</option> <replaceable>OLDDATADIR</></term>
<term><option>--user</option> <replaceable>username</></term> <term><option>--old-datadir</option> <replaceable>OLDDATADIR</></term>
<listitem><para>clusters superuser</para></listitem> <listitem><para>specify the old cluster data directory</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-c</option></term> <term><option>-D</option> <replaceable>NEWDATADIR</></term>
<term><option>--check</option></term> <term><option>--new-datadir</option> <replaceable>NEWDATADIR</></term>
<listitem><para>check clusters only, don't change any data</para></listitem> <listitem><para>specify the new cluster data directory</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-d</option></term> <term><option>-g</option></term>
<term><option>--debug</option></term> <term><option>--debug</option></term>
<listitem><para>enable debugging</para></listitem> <listitem><para>enable debugging</para></listitem>
</varlistentry> </varlistentry>
...@@ -107,6 +89,24 @@ ...@@ -107,6 +89,24 @@
<listitem><para>log session activity to file</para></listitem> <listitem><para>log session activity to file</para></listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><option>-p</option> <replaceable>portnum</></term>
<term><option>--old-port</option> <replaceable>portnum</></term>
<listitem><para>specify the old cluster port number</para></listitem>
</varlistentry>
<varlistentry>
<term><option>-P</option> <replaceable>portnum</></term>
<term><option>--new-port</option> <replaceable>portnum</></term>
<listitem><para>specify the new cluster port number</para></listitem>
</varlistentry>
<varlistentry>
<term><option>-u</option> <replaceable>username</></term>
<term><option>--user</option> <replaceable>username</></term>
<listitem><para>clusters superuser</para></listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><option>-v</option></term> <term><option>-v</option></term>
<term><option>--verbose</option></term> <term><option>--verbose</option></term>
...@@ -120,6 +120,7 @@ ...@@ -120,6 +120,7 @@
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>-?</option></term>
<term><option>-h</option></term> <term><option>-h</option></term>
<term><option>--help</option></term> <term><option>--help</option></term>
<listitem><para>show help, then exit</para></listitem> <listitem><para>show help, then exit</para></listitem>
...@@ -441,6 +442,8 @@ psql --username postgres --file script.sql postgres ...@@ -441,6 +442,8 @@ psql --username postgres --file script.sql postgres
<para> <para>
Upgrading from PostgreSQL 8.3 has additional restrictions not present
when upgrading from later PostgreSQL releases. For example,
pg_upgrade will not work for a migration from 8.3 if a user column pg_upgrade will not work for a migration from 8.3 if a user column
is defined as: is defined as:
<itemizedlist> <itemizedlist>
......
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