Skip to content

Commit 194e6ee

Browse files
committed
In pg_upgrade docs, clarify that link mode uses "hard" links.
Backpatch to 9.1 and 9.0.
1 parent d34e142 commit 194e6ee

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
@@ -105,7 +105,7 @@
105105
<varlistentry>
106106
<term><option>-k</option></term>
107107
<term><option>--link</option></term>
108-
<listitem><para>link instead of copying files to new cluster</para></listitem>
108+
<listitem><para>use hard links instead of copying files to the new cluster</para></listitem>
109109
</varlistentry>
110110

111111
<varlistentry>
@@ -293,14 +293,18 @@ NET STOP pgsql-8.3 (<productname>PostgreSQL</> 8.3 and older used a different s
293293
<para>
294294
Always run the <application>pg_upgrade</> binary of the new server, not the old one.
295295
<application>pg_upgrade</> requires the specification of the old and new cluster's
296-
data and executable (<filename>bin</>) directories. You can also specify separate
296+
data and executable (<filename>bin</>) directories. You can also specify
297297
user and port values, and whether you want the data linked instead of
298-
copied (the default). If you use linking, the upgrade will be much
299-
faster (hard link data files rather than copying them), but you
300-
will no longer be able to access your old cluster once you start
301-
the new cluster after the upgrade. Link mode also requires that the
302-
old and new cluster data directories be in the same file system.
303-
See <literal>pg_upgrade --help</> for a full list of options.
298+
copied (the default).
299+
</para>
300+
301+
<para>
302+
If you use link mode, the upgrade will be much faster (no file
303+
copying), but you will not be able to access your old cluster
304+
once you start the new cluster after the upgrade. Link mode also
305+
requires that the old and new cluster data directories be in the
306+
same file system. See <literal>pg_upgrade --help</> for a full
307+
list of options.
304308
</para>
305309

306310
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy