mirror of
https://github.com/postgres/postgres.git
synced 2025-06-13 07:41:39 +03:00
In pg_upgrade 9.0 and 9.1, document suggestion of using a non-default
port number to avoid unintended client connections.
This commit is contained in:
@ -256,8 +256,7 @@ 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. Also make sure
|
to avoid being prompted repeatedly for a password.
|
||||||
pg_upgrade is the only program that can connect to the clusters.
|
|
||||||
</para>
|
</para>
|
||||||
</step>
|
</step>
|
||||||
|
|
||||||
@ -336,6 +335,9 @@ pg_upgrade.exe
|
|||||||
|
|
||||||
<para>
|
<para>
|
||||||
Obviously, no one should be accessing the clusters during the upgrade.
|
Obviously, no one should be accessing the clusters during the upgrade.
|
||||||
|
Consider using a non-default port number, e.g. 50432, for old
|
||||||
|
and new clusters to avoid unintended client connections during
|
||||||
|
the upgrade.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
|
Reference in New Issue
Block a user