mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-06 15:24:56 +08:00
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.
This commit is contained in:
parent
a61b6b7d18
commit
776fa18359
@ -256,7 +256,8 @@ gmake prefix=/usr/local/pgsql.new install
|
|||||||
so you might want to set authentication to <literal>trust</> in
|
so you might want to set authentication to <literal>trust</> in
|
||||||
<filename>pg_hba.conf</>, or if using <literal>md5</> authentication,
|
<filename>pg_hba.conf</>, or if using <literal>md5</> authentication,
|
||||||
use a <filename>~/.pgpass</> file (see <xref linkend="libpq-pgpass">)
|
use a <filename>~/.pgpass</> file (see <xref linkend="libpq-pgpass">)
|
||||||
to avoid being prompted repeatedly for a password.
|
to avoid being prompted repeatedly for a password. Also make sure
|
||||||
|
pg_upgrade is the only program that can connect to the clusters.
|
||||||
</para>
|
</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
@ -295,9 +296,11 @@ NET STOP pgsql-8.3 (<productname>PostgreSQL</> 8.3 and older used a different s
|
|||||||
data and executable (<filename>bin</>) directories. You can also specify separate
|
data and executable (<filename>bin</>) directories. You can also specify separate
|
||||||
user and port values, and whether you want the data linked instead of
|
user and port values, and whether you want the data linked instead of
|
||||||
copied (the default). If you use linking, the upgrade will be much
|
copied (the default). If you use linking, the upgrade will be much
|
||||||
faster (no data copying), but you will no longer be able to access your
|
faster (hard link data files rather than copying them), but you
|
||||||
old cluster once you start the new cluster after the upgrade. See
|
will no longer be able to access your old cluster once you start
|
||||||
<literal>pg_upgrade --help</> for a full list of options.
|
the new cluster after the upgrade. Link mode also requires that the
|
||||||
|
old and new cluster data directories be in the same file system.
|
||||||
|
See <literal>pg_upgrade --help</> for a full list of options.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Loading…
Reference in New Issue
Block a user