1 |
Well, i think i understand what happens (through i am not sure) - i was |
2 |
upgrading 9.3 to 9.4 - they're installed in different slots, so i just |
3 |
istalled two postgresql's in one time. You are upgrading 9.4 to 9.4 - so |
4 |
they are in one slot and can not be installed in one time. |
5 |
|
6 |
But then yes, one can't upgrade the base. |
7 |
|
8 |
2014-11-10 17:59 GMT+05:00 <covici@××××××××××.com>: |
9 |
|
10 |
> Well, I found the old binaries in my backups and did the deed, the only |
11 |
> problems, was that the old data directory did not contain any .conf |
12 |
> files, so I copied the new ones into the old data directory and it was |
13 |
> then happy. I m not sure what happened to the .conf files in the old |
14 |
> data directory, but they had not been there for quite a while, so maybe |
15 |
> this was a problem with the arlier beta. Very strange but it looks |
16 |
> good. |
17 |
> |
18 |
> Thanks for your help. |
19 |
> |
20 |
> Vladimir Romanov <blueboar2@×××××.com> wrote: |
21 |
> |
22 |
> > Well... then we need someone, who is more professional, since AFAIK |
23 |
> > multiple postgresql's can be on one system in several slots. Maybe (as it |
24 |
> > is beta, slots are the same, therefore new deletes old and vice versa)? |
25 |
> > |
26 |
> > 2014-11-10 16:47 GMT+05:00 <covici@××××××××××.com>: |
27 |
> > |
28 |
> > > What it does then is delete the beta3 and give me only beta2. This is |
29 |
> > > what I had done to fix my original problem, I can show you the build |
30 |
> log |
31 |
> > > for beta3 if that would help. I am using gentoo-unstable, but that |
32 |
> > > should be obvious. |
33 |
> > > |
34 |
> > > Vladimir Romanov <blueboar2@×××××.com> wrote: |
35 |
> > > |
36 |
> > > > You updated your beta2 with beta3. Now you can add beta2 again by |
37 |
> emerge |
38 |
> > > > =dev-db/posgresql-9.4-beta2 (or something like) |
39 |
> > > > |
40 |
> > > > 2014-11-10 16:36 GMT+05:00 <covici@××××××××××.com>: |
41 |
> > > > |
42 |
> > > > > Well, after the emerge, no sign of beta2 anywhere, I have the |
43 |
> directory |
44 |
> > > > > /usr/lib64/postgresql-9.4/ with the beta3 binaries and that is |
45 |
> all, is |
46 |
> > > > > there a problem with the ebuilds or something? |
47 |
> > > > > |
48 |
> > > > > Vladimir Romanov <blueboar2@×××××.com> wrote: |
49 |
> > > > > |
50 |
> > > > > > Well, emerge it again :). You can have two postgresql-servers in |
51 |
> > > > > different |
52 |
> > > > > > slots. |
53 |
> > > > > > |
54 |
> > > > > > 2014-11-10 16:21 GMT+05:00 <covici@××××××××××.com>: |
55 |
> > > > > > |
56 |
> > > > > > > However, when I emerge beta3, beta2 is gone, so this is my |
57 |
> problem. |
58 |
> > > > > > > |
59 |
> > > > > > > |
60 |
> > > > > > > Vladimir Romanov <blueboar2@×××××.com> wrote: |
61 |
> > > > > > > |
62 |
> > > > > > > > Yes. You emerge both beta2 and beta3, then run pg_upgrade for |
63 |
> > > beta3, |
64 |
> > > > > > > > provide BOTH binaries to it, it converts the base. Then you |
65 |
> can |
66 |
> > > > > delete |
67 |
> > > > > > > > beta2. |
68 |
> > > > > > > > |
69 |
> > > > > > > > 2014-11-10 16:04 GMT+05:00 <covici@××××××××××.com>: |
70 |
> > > > > > > > |
71 |
> > > > > > > > > Hi. I have a puzzle regarding upgrading postgresql. In my |
72 |
> > > recent |
73 |
> > > > > > > world |
74 |
> > > > > > > > > update I went from 9.4_beta2 to beta3, but when I tried to |
75 |
> > > start |
76 |
> > > > > the |
77 |
> > > > > > > > > server, it complained that the databases were written with |
78 |
> a |
79 |
> > > > > different |
80 |
> > > > > > > > > "catalog version" -- whatever that is, and the pg_upgrade |
81 |
> tool |
82 |
> > > > > requires |
83 |
> > > > > > > > > both old and new binaries to actually upgrade the database. |
84 |
> > > So as |
85 |
> > > > > a |
86 |
> > > > > > > > > temporary measure, I went back to beta2 and things worked |
87 |
> > > again. |
88 |
> > > > > So |
89 |
> > > > > > > > > what the heck are you supposed to do here, I like pg, but |
90 |
> this |
91 |
> > > is |
92 |
> > > > > very |
93 |
> > > > > > > > > strange to me. |
94 |
> > > > > > > > > |
95 |
> > > > > > > > > Thanks in advance for any suggestions. |
96 |
> > > > > > > > > |
97 |
> > > > > > > > > -- |
98 |
> > > > > > > > > Your life is like a penny. You're going to lose it. The |
99 |
> > > question |
100 |
> > > > > is: |
101 |
> > > > > > > > > How do |
102 |
> > > > > > > > > you spend it? |
103 |
> > > > > > > > > |
104 |
> > > > > > > > > John Covici |
105 |
> > > > > > > > > covici@××××××××××.com |
106 |
> > > > > > > > > |
107 |
> > > > > > > > > |
108 |
> > > > > > > > |
109 |
> > > > > > > > ---------------------------------------------------- |
110 |
> > > > > > > > Alternatives: |
111 |
> > > > > > > > |
112 |
> > > > > > > > ---------------------------------------------------- |
113 |
> > > > > > > |
114 |
> > > > > > > -- |
115 |
> > > > > > > Your life is like a penny. You're going to lose it. The |
116 |
> question |
117 |
> > > is: |
118 |
> > > > > > > How do |
119 |
> > > > > > > you spend it? |
120 |
> > > > > > > |
121 |
> > > > > > > John Covici |
122 |
> > > > > > > covici@××××××××××.com |
123 |
> > > > > > > |
124 |
> > > > > > > |
125 |
> > > > > > |
126 |
> > > > > > ---------------------------------------------------- |
127 |
> > > > > > Alternatives: |
128 |
> > > > > > |
129 |
> > > > > > ---------------------------------------------------- |
130 |
> > > > > |
131 |
> > > > > -- |
132 |
> > > > > Your life is like a penny. You're going to lose it. The question |
133 |
> is: |
134 |
> > > > > How do |
135 |
> > > > > you spend it? |
136 |
> > > > > |
137 |
> > > > > John Covici |
138 |
> > > > > covici@××××××××××.com |
139 |
> > > > > |
140 |
> > > > > |
141 |
> > > > |
142 |
> > > > ---------------------------------------------------- |
143 |
> > > > Alternatives: |
144 |
> > > > |
145 |
> > > > ---------------------------------------------------- |
146 |
> > > |
147 |
> > > -- |
148 |
> > > Your life is like a penny. You're going to lose it. The question is: |
149 |
> > > How do |
150 |
> > > you spend it? |
151 |
> > > |
152 |
> > > John Covici |
153 |
> > > covici@××××××××××.com |
154 |
> > > |
155 |
> > > |
156 |
> > |
157 |
> > ---------------------------------------------------- |
158 |
> > Alternatives: |
159 |
> > |
160 |
> > ---------------------------------------------------- |
161 |
> |
162 |
> -- |
163 |
> Your life is like a penny. You're going to lose it. The question is: |
164 |
> How do |
165 |
> you spend it? |
166 |
> |
167 |
> John Covici |
168 |
> covici@××××××××××.com |
169 |
> |
170 |
> |