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