Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] pg_upgrade from 9.0.5 to 9.1.1
Date: Sun, 13 Nov 2011 05:41:59
Message-Id: CAA2qdGVCg2r8WWNwDUXnbjGA8CHhcj9mUK_HG6Lw7q0n3iF-Ww@mail.gmail.com
In Reply to: [gentoo-user] pg_upgrade from 9.0.5 to 9.1.1 by Michael George
1 On Nov 13, 2011 12:35 PM, "Michael George" <george@××××××××××.com> wrote:
2 >
3 > I am trying to upgrade my postgresql server from 9.0 to 9.1. I've
4 > installed 9.1.1 and used eselect to make it the slot to run for the
5 > system.
6 >
7 > When I run:
8 > pg_upgrade -v --check -d /var/lib/postgresql/9.0/data -D \
9 > /var/lib/postgresql/9.1/data -b /usr/lib64/postgresql-9.0/bin -B \
10 > /usr/lib64/postgresql-9.1/bin
11 >
12 > I get:
13 > Running in verbose mode
14 > Performing Consistency Checks
15 > -----------------------------
16 > Checking current, bin, and data directories ok
17 > Checking cluster versions ok
18 > "/usr/lib64/postgresql-9.0/bin/pg_ctl" -w -l "/dev/null" -D
19 > "/var/lib/postgresql/9.0/data" -o "-p 5432 -c autovacuum=off -c
20 > autovacuum_freeze_max_age=2000000000" start >> "/dev/null" 2>&1
21 >
22 > When I run that command manually and send the output to a logfile, it
23 > appears that it's trying to find postgresql's *.conf files in the data
24 > directory rather than in /etc/postgresql-9.0. I don't see a way to
25 > specify the location of the conf files separate from the data files.
26 >
27 > How do I proceed?
28 >
29
30 I'm not (yet) well-versed in postgresql, but have you tried creating
31 symlinks?
32
33 Rgds,