Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] how to upgrade postgresql under gentoo covici@××××××××××.com