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

Commit3a29065

Browse files
committed
In pg_upgrade docs, clarify that link mode uses "hard" links.
Backpatch to 9.1 and 9.0.
1 parent7412f5c commit3a29065

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

‎doc/src/sgml/pgupgrade.sgml

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<varlistentry>
9292
<term><option>-k</option></term>
9393
<term><option>--link</option></term>
94-
<listitem><para>linkinstead of copying files to new cluster</para></listitem>
94+
<listitem><para>use hard linksinstead of copying files to the new cluster</para></listitem>
9595
</varlistentry>
9696

9797
<varlistentry>
@@ -276,14 +276,18 @@ NET STOP pgsql-8.3 (<productname>PostgreSQL</> 8.3 and older used a different s
276276
<para>
277277
Always run the <application>pg_upgrade</> binary of the new server, not the old one.
278278
<application>pg_upgrade</> requires the specification of the old and new cluster's
279-
data and executable (<filename>bin</>) directories. You can also specify separate
279+
data and executable (<filename>bin</>) directories. You can also specify
280280
user and port values, and whether you want the data linked instead of
281-
copied (the default). If you use linking, the migration will be much
282-
faster (hard link data files rather than copying them), but you
283-
will no longer be able to access your old cluster once you start
284-
the new cluster after the upgrade. Link mode also requires that the
285-
old and new cluster data directories be in the same file system.
286-
See <literal>pg_upgrade --help</> for a full list of options.
281+
copied (the default).
282+
</para>
283+
284+
<para>
285+
If you use link mode, the upgrade will be much faster (no file
286+
copying), but you will not be able to access your old cluster
287+
once you start the new cluster after the upgrade. Link mode also
288+
requires that the old and new cluster data directories be in the
289+
same file system. See <literal>pg_upgrade --help</> for a full
290+
list of options.
287291
</para>
288292

289293
<para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp