Skip to content
Snippets Groups Projects
Commit 469530b3 authored by Bruce Momjian's avatar Bruce Momjian
Browse files

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.
parent ee7a48c5
No related branches found
No related tags found
No related merge requests found
...@@ -520,11 +520,10 @@ psql --username postgres --file script.sql postgres ...@@ -520,11 +520,10 @@ psql --username postgres --file script.sql postgres
</para> </para>
<para> <para>
If doing <option>--check</> with a running old server of a pre-9.1 version, If using a pre-9.1 old server that is using a non-default Unix-domain
and the old server is using a Unix-domain socket directory that is socket directory or a default that differs from the default of the
different from the default built into the new <productname>PostgreSQL</> new cluster, set <envar>PGHOST</> to point to the old server's socket
installation, set <envar>PGHOST</> to point to the socket location of the location. (This is not relevant on Windows.)
old server. (This is not relevant on Windows.)
</para> </para>
<para> <para>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment