Document that pg_upgrade requires PGHOST be set for any pre-9.1 servers
authorBruce Momjian
Tue, 4 Sep 2012 13:17:19 +0000 (09:17 -0400)
committerBruce Momjian
Tue, 4 Sep 2012 13:17:30 +0000 (09:17 -0400)
with a socket directory mismatch with the new server.

Backpatch to 9.2.

doc/src/sgml/pgupgrade.sgml

index 9e43f3ce133ef6b29de12694bfa92bce3a1d0dac..301222c55d22e71971c43c95cb2ea332552456b7 100644 (file)
@@ -520,11 +520,10 @@ psql --username postgres --file script.sql postgres
   
 
   
-   If doing 
-   and the old server is using a Unix-domain socket directory that is
-   different from the default built into the new PostgreSQL
-   installation, set 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 PGHOST to point to the old server's socket
+   location.  (This is not relevant on Windows.)