|
1 | | -<!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.8 2010/05/19 20:40:33 momjian Exp $ --> |
| 1 | +<!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.9 2010/05/19 20:47:18 momjian Exp $ --> |
2 | 2 |
|
3 | 3 | <sect1 id="pgupgrade"> |
4 | 4 | <title>pg_upgrade</title> |
|
36 | 36 | <variablelist> |
37 | 37 |
|
38 | 38 | <varlistentry> |
39 | | - <term><literal>-d</literal> <replaceable>OLDDATADIR</></term> |
40 | | - <term><literal>--old-datadir</literal> <replaceable>OLDDATADIR</></term> |
| 39 | + <term><option>-d</option> <replaceable>OLDDATADIR</></term> |
| 40 | + <term><option>--old-datadir</option> <replaceable>OLDDATADIR</></term> |
41 | 41 | <listitem><para>specify the old cluster data directory</para></listitem> |
42 | 42 | </varlistentry> |
43 | 43 |
|
44 | 44 | <varlistentry> |
45 | | - <term><literal>-D</literal> <replaceable>NEWDATADIR</></term> |
46 | | - <term><literal>--new-datadir</literal> <replaceable>NEWDATADIR</></term> |
| 45 | + <term><option>-D</option> <replaceable>NEWDATADIR</></term> |
| 46 | + <term><option>--new-datadir</option> <replaceable>NEWDATADIR</></term> |
47 | 47 | <listitem><para>specify the new cluster data directory</para></listitem> |
48 | 48 | </varlistentry> |
49 | 49 |
|
50 | 50 | <varlistentry> |
51 | | - <term><literal>-b</literal> <replaceable>OLDBINDIR</></term> |
52 | | - <term><literal>--old-bindir</literal> <replaceable>OLDBINDIR</></term> |
| 51 | + <term><option>-b</option> <replaceable>OLDBINDIR</></term> |
| 52 | + <term><option>--old-bindir</option> <replaceable>OLDBINDIR</></term> |
53 | 53 | <listitem><para>specify the old cluster executable directory</para></listitem> |
54 | 54 | </varlistentry> |
55 | 55 |
|
56 | 56 | <varlistentry> |
57 | | - <term><literal>-B</literal> <replaceable>NEWBINDIR</></term> |
58 | | - <term><literal>--new-bindir</literal> <replaceable>NEWBINDIR</></term> |
| 57 | + <term><option>-B</option> <replaceable>NEWBINDIR</></term> |
| 58 | + <term><option>--new-bindir</option> <replaceable>NEWBINDIR</></term> |
59 | 59 | <listitem><para>specify the new cluster executable directory</para></listitem> |
60 | 60 | </varlistentry> |
61 | 61 |
|
62 | 62 | <varlistentry> |
63 | | - <term><literal>-p</literal> <replaceable>portnum</></term> |
64 | | - <term><literal>--old-port</literal> <replaceable>portnum</></term> |
| 63 | + <term><option>-p</option> <replaceable>portnum</></term> |
| 64 | + <term><option>--old-port</option> <replaceable>portnum</></term> |
65 | 65 | <listitem><para>specify the old cluster port number</para></listitem> |
66 | 66 | </varlistentry> |
67 | 67 |
|
68 | 68 | <varlistentry> |
69 | | - <term><literal>-P</literal> <replaceable>portnum</></term> |
70 | | - <term><literal>--new-port</literal> <replaceable>portnum</></term> |
| 69 | + <term><option>-P</option> <replaceable>portnum</></term> |
| 70 | + <term><option>--new-port</option> <replaceable>portnum</></term> |
71 | 71 | <listitem><para>specify the new cluster port number</para></listitem> |
72 | 72 | </varlistentry> |
73 | 73 |
|
74 | 74 | <varlistentry> |
75 | | - <term><literal>-u</literal> <replaceable>username</></term> |
76 | | - <term><literal>--user</literal> <replaceable>username</></term> |
| 75 | + <term><option>-u</option> <replaceable>username</></term> |
| 76 | + <term><option>--user</option> <replaceable>username</></term> |
77 | 77 | <listitem><para>clusters superuser</para></listitem> |
78 | 78 | </varlistentry> |
79 | 79 |
|
80 | 80 | <varlistentry> |
81 | | - <term><literal>-c</literal></term> |
82 | | - <term><literal>--check</literal></term> |
| 81 | + <term><option>-c</option></term> |
| 82 | + <term><option>--check</option></term> |
83 | 83 | <listitem><para>check clusters only, don't change any data</para></listitem> |
84 | 84 | </varlistentry> |
85 | 85 |
|
86 | 86 | <varlistentry> |
87 | | - <term><literal>-d</literal></term> |
88 | | - <term><literal>--debug</literal></term> |
| 87 | + <term><option>-d</option></term> |
| 88 | + <term><option>--debug</option></term> |
89 | 89 | <listitem><para>enable debugging</para></listitem> |
90 | 90 | </varlistentry> |
91 | 91 |
|
92 | 92 | <varlistentry> |
93 | | - <term><literal>-G</literal> <replaceable>DEBUGFILENAME</></term> |
94 | | - <term><literal>--debugfile</literal> <replaceable>DEBUGFILENAME</></term> |
| 93 | + <term><option>-G</option> <replaceable>DEBUGFILENAME</></term> |
| 94 | + <term><option>--debugfile</option> <replaceable>DEBUGFILENAME</></term> |
95 | 95 | <listitem><para>output debugging activity to file</para></listitem> |
96 | 96 | </varlistentry> |
97 | 97 |
|
98 | 98 | <varlistentry> |
99 | | - <term><literal>-k</literal></term> |
100 | | - <term><literal>--link</literal></term> |
| 99 | + <term><option>-k</option></term> |
| 100 | + <term><option>--link</option></term> |
101 | 101 | <listitem><para>link instead of copying files to new cluster</para></listitem> |
102 | 102 | </varlistentry> |
103 | 103 |
|
104 | 104 | <varlistentry> |
105 | | - <term><literal>-l</literal> <replaceable>LOGFILENAME</></term> |
106 | | - <term><literal>--logfile</literal> <replaceable>LOGFILENAME</></term> |
| 105 | + <term><option>-l</option> <replaceable>LOGFILENAME</></term> |
| 106 | + <term><option>--logfile</option> <replaceable>LOGFILENAME</></term> |
107 | 107 | <listitem><para>log session activity to file</para></listitem> |
108 | 108 | </varlistentry> |
109 | 109 |
|
110 | 110 | <varlistentry> |
111 | | - <term><literal>-v</literal></term> |
112 | | - <term><literal>--verbose</literal></term> |
| 111 | + <term><option>-v</option></term> |
| 112 | + <term><option>--verbose</option></term> |
113 | 113 | <listitem><para>enable verbose output</para></listitem> |
114 | 114 | </varlistentry> |
115 | 115 |
|
116 | 116 | <varlistentry> |
117 | | - <term><literal>-V</literal></term> |
118 | | - <term><literal>--version</literal></term> |
| 117 | + <term><option>-V</option></term> |
| 118 | + <term><option>--version</option></term> |
119 | 119 | <listitem><para>display version information, then exit</para></listitem> |
120 | 120 | </varlistentry> |
121 | 121 |
|
122 | 122 | <varlistentry> |
123 | | - <term><literal>-h</literal></term> |
124 | | - <term><literal>--help</literal></term> |
| 123 | + <term><option>-h</option></term> |
| 124 | + <term><option>--help</option></term> |
125 | 125 | <listitem><para>show help, then exit</para></listitem> |
126 | 126 | </varlistentry> |
127 | 127 |
|
|