Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 776fa18

Browse files
committed
In pg_upgrade, document that link mode has to have data directories on
the same file system, and that authentication should lock out normal users. Per suggestsion from #postgresql irc channel. Backpatch to 9.1.
1 parent a61b6b7 commit 776fa18

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

doc/src/sgml/pgupgrade.sgml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,8 @@ gmake prefix=/usr/local/pgsql.new install
256256
so you might want to set authentication to <literal>trust</> in
257257
<filename>pg_hba.conf</>, or if using <literal>md5</> authentication,
258258
use a <filename>~/.pgpass</> file (see <xref linkend="libpq-pgpass">)
259-
to avoid being prompted repeatedly for a password.
259+
to avoid being prompted repeatedly for a password. Also make sure
260+
pg_upgrade is the only program that can connect to the clusters.
260261
</para>
261262
</step>
262263

@@ -295,9 +296,11 @@ NET STOP pgsql-8.3 (<productname>PostgreSQL</> 8.3 and older used a different s
295296
data and executable (<filename>bin</>) directories. You can also specify separate
296297
user and port values, and whether you want the data linked instead of
297298
copied (the default). If you use linking, the upgrade will be much
298-
faster (no data copying), but you will no longer be able to access your
299-
old cluster once you start the new cluster after the upgrade. See
300-
<literal>pg_upgrade --help</> for a full list of options.
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.
301304
</para>
302305

303306
<para>

0 commit comments

Comments
 (0)