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:23:23
Message-Id: CAKx5OMaZ9M0M=hMb-q5N8wHcN3j-+KkGE_XMAxP+-R8aOCL97Q@mail.gmail.com
In Reply to: Re: [gentoo-user] how to upgrade postgresql under gentoo by covici@ccs.covici.com
1 Well, emerge it again :). You can have two postgresql-servers in different
2 slots.
3
4 2014-11-10 16:21 GMT+05:00 <covici@××××××××××.com>:
5
6 > However, when I emerge beta3, beta2 is gone, so this is my problem.
7 >
8 >
9 > Vladimir Romanov <blueboar2@×××××.com> wrote:
10 >
11 > > Yes. You emerge both beta2 and beta3, then run pg_upgrade for beta3,
12 > > provide BOTH binaries to it, it converts the base. Then you can delete
13 > > beta2.
14 > >
15 > > 2014-11-10 16:04 GMT+05:00 <covici@××××××××××.com>:
16 > >
17 > > > Hi. I have a puzzle regarding upgrading postgresql. In my recent
18 > world
19 > > > update I went from 9.4_beta2 to beta3, but when I tried to start the
20 > > > server, it complained that the databases were written with a different
21 > > > "catalog version" -- whatever that is, and the pg_upgrade tool requires
22 > > > both old and new binaries to actually upgrade the database. So as a
23 > > > temporary measure, I went back to beta2 and things worked again. So
24 > > > what the heck are you supposed to do here, I like pg, but this is very
25 > > > strange to me.
26 > > >
27 > > > Thanks in advance for any suggestions.
28 > > >
29 > > > --
30 > > > Your life is like a penny. You're going to lose it. The question is:
31 > > > How do
32 > > > you spend it?
33 > > >
34 > > > John Covici
35 > > > covici@××××××××××.com
36 > > >
37 > > >
38 > >
39 > > ----------------------------------------------------
40 > > Alternatives:
41 > >
42 > > ----------------------------------------------------
43 >
44 > --
45 > Your life is like a penny. You're going to lose it. The question is:
46 > How do
47 > you spend it?
48 >
49 > John Covici
50 > covici@××××××××××.com
51 >
52 >

Replies

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