summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--postgresql.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/postgresql.xml b/postgresql.xml
index ae1d8e5..a612099 100644
--- a/postgresql.xml
+++ b/postgresql.xml
@@ -670,13 +670,19 @@ instructions.
# <i>ln -s /etc/postgresql-8.4/*.conf /var/lib/postgresql/8.4/data/</i>
# <i>ln -s /etc/postgresql-9.0/*.conf /var/lib/postgresql/9.0/data/</i>
-<comment>(Change the method of 'postgres' to trust on local connections)</comment>
+<comment>(Change the method of database user 'postgres' to trust on local
+connections on all databases.)</comment>
# <i>nano -w /etc/postgresql-8.4/pg_hba.conf</i>
# <i>nano -w /etc/postgresql-9.0/pg_hba.conf</i>
-# <i>pg_upgrade -u postgres \
- -d /var/lib/postgresql/8.4/data -D /var/lib/postgresql/9.0 \
+
+<comment>You may need to change the permissions of '/var/lib/postgresql/' before
+you perform the next step.</comment>
+# <i>su - postgres</i>
+$ <i>pg_upgrade -u postgres \
+ -d /var/lib/postgresql/8.4/data -D /var/lib/postgresql/9.0/data \
-b /usr/lib/postgresql-8.4/bin -B /usr/lib/postgresql-9.0/bin</i>
-<comment>(Perform the tasks pg_upgrade tells you to.)</comment>
+<comment>(Perform the tasks pg_upgrade tells you to do , if any.)</comment>
+$ <i>logout</i>
<comment>(Remove the symbolic links we created earlier.)</comment>
# <i>rm /var/lib/postgresql/8.4/data/*.conf</i>