Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60e7f45

Browse files
committed
Make pg_upgrade documentation refer to 9.0 instead of 8.4.
Fujii Masao
1 parent2627d5b commit60e7f45

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

‎doc/src/sgml/pgupgrade.sgml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.4 2010/05/13 22:51:00 momjian Exp $ -->
1+
<!-- $PostgreSQL: pgsql/doc/src/sgml/pgupgrade.sgml,v 1.5 2010/05/18 15:41:36 mha Exp $ -->
22

33
<sect1 id="pgupgrade">
44
<title>pg_upgrade</title>
@@ -154,7 +154,7 @@ gmake prefix=/usr/local/pgsql.new install
154154

155155
<programlisting>
156156
pg_ctl --pgdata /opt/PostgreSQL/8.4 stop
157-
pg_ctl --pgdata /opt/PostgreSQL/8.5 stop
157+
pg_ctl --pgdata /opt/PostgreSQL/9.0 stop
158158
</programlisting>
159159

160160
or on Windows
@@ -175,7 +175,9 @@ NET STOP pgsql-8.3 (different service name)
175175
<listitem>
176176
<para>
177177
Run pg_upgrade
178+
</para>
178179

180+
<para>
179181
Always run the pg_upgrade binary in the new server, not the old one.
180182
pg_upgrade requires the specification of the old and new cluster's
181183
PGDATA and executable (/bin) directories. You can also specify separate
@@ -192,17 +194,17 @@ NET STOP pgsql-8.3 (different service name)
192194

193195
<programlisting>
194196
RUNAS /USER:postgres "CMD.EXE"
195-
SET PATH=%PATH%;C:\Program Files\PostgreSQL\8.5\bin;
197+
SET PATH=%PATH%;C:\Program Files\PostgreSQL\9.0\bin;
196198
</programlisting>
197199

198200
and then run pg_upgrade with quoted directories, e.g.:
199201

200202
<programlisting>
201203
pg_upgrade.exe
202204
--old-datadir "C:/Program Files/PostgreSQL/8.4/data"
203-
--new-datadir "C:/Program Files/PostgreSQL/8.5/data"
205+
--new-datadir "C:/Program Files/PostgreSQL/9.0/data"
204206
--old-bindir "C:/Program Files/PostgreSQL/8.4/bin"
205-
--new-bindir "C:/Program Files/PostgreSQL/8.5/bin"
207+
--new-bindir "C:/Program Files/PostgreSQL/9.0/bin"
206208
</programlisting>
207209

208210
Once started, pg_upgrade will verify the two clusters are compatible

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp