Skip to content

Commit 00a8eb6

Browse files
committed
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.
1 parent d074805 commit 00a8eb6

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

doc/src/sgml/pgupgrade.sgml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -520,11 +520,10 @@ psql --username postgres --file script.sql postgres
520520
</para>
521521

522522
<para>
523-
If doing <option>--check</> with a running old server of a pre-9.1 version,
524-
and the old server is using a Unix-domain socket directory that is
525-
different from the default built into the new <productname>PostgreSQL</>
526-
installation, set <envar>PGHOST</> to point to the socket location of the
527-
old server. (This is not relevant on Windows.)
523+
If using a pre-9.1 old server that is using a non-default Unix-domain
524+
socket directory or a default that differs from the default of the
525+
new cluster, set <envar>PGHOST</> to point to the old server's socket
526+
location. (This is not relevant on Windows.)
528527
</para>
529528

530529
<para>

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy