From: "Aaron Swenson" <titanofold@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/pgsql-patches:documentation commit in: /
Date: Mon, 8 Aug 2011 10:58:51 +0000 (UTC) [thread overview]
Message-ID: <6a13c5d726fb9b5b38beb27776f15b879a4e1030.titanofold@gentoo> (raw)
commit: 6a13c5d726fb9b5b38beb27776f15b879a4e1030
Author: Aaron W. Swenson <titanofold <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 8 10:57:59 2011 +0000
Commit: Aaron Swenson <titanofold <AT> gentoo <DOT> org>
CommitDate: Mon Aug 8 10:57:59 2011 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/pgsql-patches.git;a=commit;h=6a13c5d7
Fixed pg_upgrade instructions
---
postgresql.xml | 14 ++++++++++----
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>
next reply other threads:[~2011-08-08 10:59 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-08 10:58 Aaron Swenson [this message]
-- strict thread matches above, loose matches on Subject: below --
2011-07-23 20:17 [gentoo-commits] proj/pgsql-patches:documentation commit in: / Aaron Swenson
2011-07-23 15:38 Aaron Swenson
2011-07-23 15:38 Aaron Swenson
2011-07-13 11:26 Aaron Swenson
2011-07-04 22:55 Aaron Swenson
2011-04-14 11:52 Aaron Swenson
2011-04-14 11:52 Aaron Swenson
2011-04-03 12:03 Aaron Swenson
2011-03-29 1:17 Aaron Swenson
2011-03-29 1:17 Aaron Swenson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6a13c5d726fb9b5b38beb27776f15b879a4e1030.titanofold@gentoo \
--to=titanofold@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox