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:50:49
Message-Id: CAKx5OMbK1zSOz=3PuvrkV_o=p8MeDJJtpHDg5GR=ZBi5ja4kbw@mail.gmail.com
In Reply to: Re: [gentoo-user] how to upgrade postgresql under gentoo by covici@ccs.covici.com
1 Well... then we need someone, who is more professional, since AFAIK
2 multiple postgresql's can be on one system in several slots. Maybe (as it
3 is beta, slots are the same, therefore new deletes old and vice versa)?
4
5 2014-11-10 16:47 GMT+05:00 <covici@××××××××××.com>:
6
7 > What it does then is delete the beta3 and give me only beta2. This is
8 > what I had done to fix my original problem, I can show you the build log
9 > for beta3 if that would help. I am using gentoo-unstable, but that
10 > should be obvious.
11 >
12 > Vladimir Romanov <blueboar2@×××××.com> wrote:
13 >
14 > > You updated your beta2 with beta3. Now you can add beta2 again by emerge
15 > > =dev-db/posgresql-9.4-beta2 (or something like)
16 > >
17 > > 2014-11-10 16:36 GMT+05:00 <covici@××××××××××.com>:
18 > >
19 > > > Well, after the emerge, no sign of beta2 anywhere, I have the directory
20 > > > /usr/lib64/postgresql-9.4/ with the beta3 binaries and that is all, is
21 > > > there a problem with the ebuilds or something?
22 > > >
23 > > > Vladimir Romanov <blueboar2@×××××.com> wrote:
24 > > >
25 > > > > Well, emerge it again :). You can have two postgresql-servers in
26 > > > different
27 > > > > slots.
28 > > > >
29 > > > > 2014-11-10 16:21 GMT+05:00 <covici@××××××××××.com>:
30 > > > >
31 > > > > > However, when I emerge beta3, beta2 is gone, so this is my problem.
32 > > > > >
33 > > > > >
34 > > > > > Vladimir Romanov <blueboar2@×××××.com> wrote:
35 > > > > >
36 > > > > > > Yes. You emerge both beta2 and beta3, then run pg_upgrade for
37 > beta3,
38 > > > > > > provide BOTH binaries to it, it converts the base. Then you can
39 > > > delete
40 > > > > > > beta2.
41 > > > > > >
42 > > > > > > 2014-11-10 16:04 GMT+05:00 <covici@××××××××××.com>:
43 > > > > > >
44 > > > > > > > Hi. I have a puzzle regarding upgrading postgresql. In my
45 > recent
46 > > > > > world
47 > > > > > > > update I went from 9.4_beta2 to beta3, but when I tried to
48 > start
49 > > > the
50 > > > > > > > server, it complained that the databases were written with a
51 > > > different
52 > > > > > > > "catalog version" -- whatever that is, and the pg_upgrade tool
53 > > > requires
54 > > > > > > > both old and new binaries to actually upgrade the database.
55 > So as
56 > > > a
57 > > > > > > > temporary measure, I went back to beta2 and things worked
58 > again.
59 > > > So
60 > > > > > > > what the heck are you supposed to do here, I like pg, but this
61 > is
62 > > > very
63 > > > > > > > strange to me.
64 > > > > > > >
65 > > > > > > > Thanks in advance for any suggestions.
66 > > > > > > >
67 > > > > > > > --
68 > > > > > > > Your life is like a penny. You're going to lose it. The
69 > question
70 > > > is:
71 > > > > > > > How do
72 > > > > > > > you spend it?
73 > > > > > > >
74 > > > > > > > John Covici
75 > > > > > > > covici@××××××××××.com
76 > > > > > > >
77 > > > > > > >
78 > > > > > >
79 > > > > > > ----------------------------------------------------
80 > > > > > > Alternatives:
81 > > > > > >
82 > > > > > > ----------------------------------------------------
83 > > > > >
84 > > > > > --
85 > > > > > Your life is like a penny. You're going to lose it. The question
86 > is:
87 > > > > > How do
88 > > > > > you spend it?
89 > > > > >
90 > > > > > John Covici
91 > > > > > covici@××××××××××.com
92 > > > > >
93 > > > > >
94 > > > >
95 > > > > ----------------------------------------------------
96 > > > > Alternatives:
97 > > > >
98 > > > > ----------------------------------------------------
99 > > >
100 > > > --
101 > > > Your life is like a penny. You're going to lose it. The question is:
102 > > > How do
103 > > > you spend it?
104 > > >
105 > > > John Covici
106 > > > covici@××××××××××.com
107 > > >
108 > > >
109 > >
110 > > ----------------------------------------------------
111 > > Alternatives:
112 > >
113 > > ----------------------------------------------------
114 >
115 > --
116 > Your life is like a penny. You're going to lose it. The question is:
117 > How do
118 > you spend it?
119 >
120 > John Covici
121 > covici@××××××××××.com
122 >
123 >

Replies

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