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

Commit886c05d

Browse files
committed
pg_upgrade: document possible pg_hba.conf options
Previously, pg_upgrade docs recommended using .pgpass if using MD5authentication to avoid being prompted for a password. Turns out pg_ctlnever prompts for a password, so MD5 requires .pgpass --- document that.Also recommend 'peer' for authentication too.Backpatch back to 9.1.
1 parentf02b14f commit886c05d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎doc/src/sgml/pgupgrade.sgml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -287,10 +287,10 @@ gmake prefix=/usr/local/pgsql.new install
287287

288288
<para>
289289
<command>pg_upgrade</> will connect to the old and new servers several times,
290-
so you might want to set authentication to <literal>trust</> in
291-
<filename>pg_hba.conf</>, or if using <literal>md5</> authentication,
292-
use a <filename>~/.pgpass</> file (see <xref linkend="libpq-pgpass">)
293-
to avoid being prompted repeatedly for a password.
290+
so you might want to set authentication to <literal>trust</>
291+
or <literal>peer</> in <filename>pg_hba.conf</>, or if using
292+
<literal>md5</> authentication,use a <filename>~/.pgpass</> file
293+
(see <xref linkend="libpq-pgpass">).
294294
</para>
295295
</step>
296296

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp