~ubuntu-branches/ubuntu/oneiric/postgresql-9.1/oneiric-security

« back to all changes in this revision

Viewing changes to doc/src/sgml/pgupgrade.sgml

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2011-06-14 09:53:29 UTC
  • mto: (6.1.1 sid) (10.1.1 oneiric-proposed) (1.2.1)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20110614095329-71gfhjywyp2c27au
Tags: upstream-9.1~beta2
ImportĀ upstreamĀ versionĀ 9.1~beta2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!-- doc/src/sgml/pgupgrade.sgml -->
2
2
 
3
 
<sect1 id="pgupgrade">
 
3
<sect1 id="pgupgrade" xreflabel="pg_upgrade">
4
4
 <title>pg_upgrade</title>
5
5
 
6
6
 <indexterm zone="pgupgrade">
58
58
 
59
59
     <varlistentry>
60
60
      <term><option>-b</option> <replaceable>old_bindir</></term>
61
 
      <term><option>--old-bindir=</option><replaceable>OLDBINDIR</></term>
62
 
      <listitem><para>specify the old cluster executable directory</para></listitem>
 
61
      <term><option>--old-bindir=</option><replaceable>old_bindir</></term>
 
62
      <listitem><para>the old cluster executable directory;
 
63
      environment variable <envar>OLDBINDIR</></para></listitem>
63
64
     </varlistentry>
64
65
 
65
66
     <varlistentry>
66
67
      <term><option>-B</option> <replaceable>new_bindir</></term>
67
 
      <term><option>--new-bindir=</option><replaceable>NEWBINDIR</></term>
68
 
      <listitem><para>specify the new cluster executable directory</para></listitem>
 
68
      <term><option>--new-bindir=</option><replaceable>new_bindir</></term>
 
69
      <listitem><para>the new cluster executable directory;
 
70
      environment variable <envar>NEWBINDIR</></para></listitem>
69
71
     </varlistentry>
70
72
 
71
73
     <varlistentry>
76
78
 
77
79
     <varlistentry>
78
80
      <term><option>-d</option> <replaceable>old_datadir</></term>
79
 
      <term><option>--old-datadir=</option><replaceable>OLDDATADIR</></term>
80
 
      <listitem><para>specify the old cluster data directory</para></listitem>
 
81
      <term><option>--old-datadir=</option><replaceable>old_datadir</></term>
 
82
      <listitem><para>the old cluster data directory; environment
 
83
      variable <envar>OLDDATADIR</></para></listitem>
81
84
     </varlistentry>
82
85
 
83
86
     <varlistentry>
84
87
      <term><option>-D</option> <replaceable>new_datadir</></term>
85
 
      <term><option>--new-datadir=</option><replaceable>NEWDATADIR</></term>
86
 
      <listitem><para>specify the new cluster data directory</para></listitem>
 
88
      <term><option>--new-datadir=</option><replaceable>new_datadir</></term>
 
89
      <listitem><para>the new cluster data directory; environment
 
90
      variable <envar>NEWDATADIR</></para></listitem>
87
91
     </varlistentry>
88
92
 
89
93
     <varlistentry>
94
98
 
95
99
     <varlistentry>
96
100
      <term><option>-G</option> <replaceable>debug_filename</></term>
97
 
      <term><option>--debugfile=</option><replaceable>DEBUGFILENAME</></term>
 
101
      <term><option>--debugfile=</option><replaceable>debug_filename</></term>
98
102
      <listitem><para>output debugging activity to file</para></listitem>
99
103
     </varlistentry>
100
104
 
106
110
 
107
111
     <varlistentry>
108
112
      <term><option>-l</option> <replaceable>log_filename</></term>
109
 
      <term><option>--logfile=</option><replaceable>LOGFILENAME</></term>
 
113
      <term><option>--logfile=</option><replaceable>log_filename</></term>
110
114
      <listitem><para>log session activity to file</para></listitem>
111
115
     </varlistentry>
112
116
 
113
117
     <varlistentry>
114
 
      <term><option>-p</option> <replaceable>old_portnum</></term>
115
 
      <term><option>--old-port=</option><replaceable>portnum</></term>
116
 
      <listitem><para>specify the old cluster port number</para></listitem>
117
 
     </varlistentry>
118
 
 
119
 
     <varlistentry>
120
 
      <term><option>-P</option> <replaceable>new_portnum</></term>
121
 
      <term><option>--new-port=</option><replaceable>portnum</></term>
122
 
      <listitem><para>specify the new cluster port number</para></listitem>
123
 
     </varlistentry>
124
 
 
125
 
     <varlistentry>
126
 
      <term><option>-u</option> <replaceable>username</></term>
127
 
      <term><option>--user=</option><replaceable>username</></term>
128
 
      <listitem><para>clusters superuser</para></listitem>
 
118
      <term><option>-p</option> <replaceable>old_port_number</></term>
 
119
      <term><option>--old-port=</option><replaceable>old_portnum</></term>
 
120
      <listitem><para>the old cluster port number; environment
 
121
      variable <envar>PGPORT</></para></listitem>
 
122
     </varlistentry>
 
123
 
 
124
     <varlistentry>
 
125
      <term><option>-P</option> <replaceable>new_port_number</></term>
 
126
      <term><option>--new-port=</option><replaceable>new_portnum</></term>
 
127
      <listitem><para>the new cluster port number; environment
 
128
      variable <envar>PGPORT</></para></listitem>
 
129
     </varlistentry>
 
130
 
 
131
     <varlistentry>
 
132
      <term><option>-u</option> <replaceable>user_name</></term>
 
133
      <term><option>--user=</option><replaceable>user_name</></term>
 
134
      <listitem><para>cluster's super user name; environment
 
135
      variable <envar>PGUSER</></para></listitem>
129
136
     </varlistentry>
130
137
 
131
138
     <varlistentry>