提交 00a8eb61 编写于 作者: B Bruce Momjian

Document that pg_upgrade requires PGHOST be set for any pre-9.1 servers

with a socket directory mismatch with the new server.

Backpatch to 9.2.
上级 d074805f
......@@ -520,11 +520,10 @@ psql --username postgres --file script.sql postgres
</para>
<para>
If doing <option>--check</> with a running old server of a pre-9.1 version,
and the old server is using a Unix-domain socket directory that is
different from the default built into the new <productname>PostgreSQL</>
installation, set <envar>PGHOST</> to point to the socket location of the
old server. (This is not relevant on Windows.)
If using a pre-9.1 old server that is using a non-default Unix-domain
socket directory or a default that differs from the default of the
new cluster, set <envar>PGHOST</> to point to the old server's socket
location. (This is not relevant on Windows.)
</para>
<para>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册