Gentoo Archives: gentoo-user

From: covici@××××××××××.com
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] how to upgrade postgresql under gentoo
Date: Mon, 10 Nov 2014 11:36:50
Message-Id: 5306.1415619400@ccs.covici.com
In Reply to: Re: [gentoo-user] how to upgrade postgresql under gentoo by Vladimir Romanov
1 Well, after the emerge, no sign of beta2 anywhere, I have the directory
2 /usr/lib64/postgresql-9.4/ with the beta3 binaries and that is all, is
3 there a problem with the ebuilds or something?
4
5 Vladimir Romanov <blueboar2@×××××.com> wrote:
6
7 > Well, emerge it again :). You can have two postgresql-servers in different
8 > slots.
9 >
10 > 2014-11-10 16:21 GMT+05:00 <covici@××××××××××.com>:
11 >
12 > > However, when I emerge beta3, beta2 is gone, so this is my problem.
13 > >
14 > >
15 > > Vladimir Romanov <blueboar2@×××××.com> wrote:
16 > >
17 > > > Yes. You emerge both beta2 and beta3, then run pg_upgrade for beta3,
18 > > > provide BOTH binaries to it, it converts the base. Then you can delete
19 > > > beta2.
20 > > >
21 > > > 2014-11-10 16:04 GMT+05:00 <covici@××××××××××.com>:
22 > > >
23 > > > > Hi. I have a puzzle regarding upgrading postgresql. In my recent
24 > > world
25 > > > > update I went from 9.4_beta2 to beta3, but when I tried to start the
26 > > > > server, it complained that the databases were written with a different
27 > > > > "catalog version" -- whatever that is, and the pg_upgrade tool requires
28 > > > > both old and new binaries to actually upgrade the database. So as a
29 > > > > temporary measure, I went back to beta2 and things worked again. So
30 > > > > what the heck are you supposed to do here, I like pg, but this is very
31 > > > > strange to me.
32 > > > >
33 > > > > Thanks in advance for any suggestions.
34 > > > >
35 > > > > --
36 > > > > Your life is like a penny. You're going to lose it. The question is:
37 > > > > How do
38 > > > > you spend it?
39 > > > >
40 > > > > John Covici
41 > > > > covici@××××××××××.com
42 > > > >
43 > > > >
44 > > >
45 > > > ----------------------------------------------------
46 > > > Alternatives:
47 > > >
48 > > > ----------------------------------------------------
49 > >
50 > > --
51 > > Your life is like a penny. You're going to lose it. The question is:
52 > > How do
53 > > you spend it?
54 > >
55 > > John Covici
56 > > covici@××××××××××.com
57 > >
58 > >
59 >
60 > ----------------------------------------------------
61 > Alternatives:
62 >
63 > ----------------------------------------------------
64
65 --
66 Your life is like a penny. You're going to lose it. The question is:
67 How do
68 you spend it?
69
70 John Covici
71 covici@××××××××××.com

Replies

Subject Author
Re: [gentoo-user] how to upgrade postgresql under gentoo Vladimir Romanov <blueboar2@×××××.com>