Gentoo Archives: gentoo-user

From: Michael George <george@××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] pg_upgrade from 9.0.5 to 9.1.1
Date: Sun, 13 Nov 2011 05:33:15
Message-Id: 20111113053158.GA24608@brego.pewamo.office
1 I am trying to upgrade my postgresql server from 9.0 to 9.1. I've
2 installed 9.1.1 and used eselect to make it the slot to run for the
3 system.
4
5 When I run:
6 pg_upgrade -v --check -d /var/lib/postgresql/9.0/data -D \
7 /var/lib/postgresql/9.1/data -b /usr/lib64/postgresql-9.0/bin -B \
8 /usr/lib64/postgresql-9.1/bin
9
10 I get:
11 Running in verbose mode
12 Performing Consistency Checks
13 -----------------------------
14 Checking current, bin, and data directories ok
15 Checking cluster versions ok
16 "/usr/lib64/postgresql-9.0/bin/pg_ctl" -w -l "/dev/null" -D
17 "/var/lib/postgresql/9.0/data" -o "-p 5432 -c autovacuum=off -c
18 autovacuum_freeze_max_age=2000000000" start >> "/dev/null" 2>&1
19
20 When I run that command manually and send the output to a logfile, it
21 appears that it's trying to find postgresql's *.conf files in the data
22 directory rather than in /etc/postgresql-9.0. I don't see a way to
23 specify the location of the conf files separate from the data files.
24
25 How do I proceed?
26
27 --
28 -Michael
29
30 Rident stolidi verba Latina.
31 -Ovid

Replies

Subject Author
Re: [gentoo-user] pg_upgrade from 9.0.5 to 9.1.1 Pandu Poluan <pandu@××××××.info>
Re: [gentoo-user] pg_upgrade from 9.0.5 to 9.1.1 Michael George <george@××××××××××.com>