From: covici@ccs.covici.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to upgrade postgresql under gentoo
Date: Mon, 10 Nov 2014 07:59:22 -0500 [thread overview]
Message-ID: <18342.1415624362@ccs.covici.com> (raw)
In-Reply-To: <CAKx5OMbK1zSOz=3PuvrkV_o=p8MeDJJtpHDg5GR=ZBi5ja4kbw@mail.gmail.com>
Well, I found the old binaries in my backups and did the deed, the only
problems, was that the old data directory did not contain any .conf
files, so I copied the new ones into the old data directory and it was
then happy. I m not sure what happened to the .conf files in the old
data directory, but they had not been there for quite a while, so maybe
this was a problem with the arlier beta. Very strange but it looks
good.
Thanks for your help.
Vladimir Romanov <blueboar2@gmail.com> wrote:
> Well... then we need someone, who is more professional, since AFAIK
> multiple postgresql's can be on one system in several slots. Maybe (as it
> is beta, slots are the same, therefore new deletes old and vice versa)?
>
> 2014-11-10 16:47 GMT+05:00 <covici@ccs.covici.com>:
>
> > What it does then is delete the beta3 and give me only beta2. This is
> > what I had done to fix my original problem, I can show you the build log
> > for beta3 if that would help. I am using gentoo-unstable, but that
> > should be obvious.
> >
> > Vladimir Romanov <blueboar2@gmail.com> wrote:
> >
> > > You updated your beta2 with beta3. Now you can add beta2 again by emerge
> > > =dev-db/posgresql-9.4-beta2 (or something like)
> > >
> > > 2014-11-10 16:36 GMT+05:00 <covici@ccs.covici.com>:
> > >
> > > > Well, after the emerge, no sign of beta2 anywhere, I have the directory
> > > > /usr/lib64/postgresql-9.4/ with the beta3 binaries and that is all, is
> > > > there a problem with the ebuilds or something?
> > > >
> > > > Vladimir Romanov <blueboar2@gmail.com> wrote:
> > > >
> > > > > Well, emerge it again :). You can have two postgresql-servers in
> > > > different
> > > > > slots.
> > > > >
> > > > > 2014-11-10 16:21 GMT+05:00 <covici@ccs.covici.com>:
> > > > >
> > > > > > However, when I emerge beta3, beta2 is gone, so this is my problem.
> > > > > >
> > > > > >
> > > > > > Vladimir Romanov <blueboar2@gmail.com> wrote:
> > > > > >
> > > > > > > Yes. You emerge both beta2 and beta3, then run pg_upgrade for
> > beta3,
> > > > > > > provide BOTH binaries to it, it converts the base. Then you can
> > > > delete
> > > > > > > beta2.
> > > > > > >
> > > > > > > 2014-11-10 16:04 GMT+05:00 <covici@ccs.covici.com>:
> > > > > > >
> > > > > > > > Hi. I have a puzzle regarding upgrading postgresql. In my
> > recent
> > > > > > world
> > > > > > > > update I went from 9.4_beta2 to beta3, but when I tried to
> > start
> > > > the
> > > > > > > > server, it complained that the databases were written with a
> > > > different
> > > > > > > > "catalog version" -- whatever that is, and the pg_upgrade tool
> > > > requires
> > > > > > > > both old and new binaries to actually upgrade the database.
> > So as
> > > > a
> > > > > > > > temporary measure, I went back to beta2 and things worked
> > again.
> > > > So
> > > > > > > > what the heck are you supposed to do here, I like pg, but this
> > is
> > > > very
> > > > > > > > strange to me.
> > > > > > > >
> > > > > > > > Thanks in advance for any suggestions.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Your life is like a penny. You're going to lose it. The
> > question
> > > > is:
> > > > > > > > How do
> > > > > > > > you spend it?
> > > > > > > >
> > > > > > > > John Covici
> > > > > > > > covici@ccs.covici.com
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > > ----------------------------------------------------
> > > > > > > Alternatives:
> > > > > > >
> > > > > > > ----------------------------------------------------
> > > > > >
> > > > > > --
> > > > > > Your life is like a penny. You're going to lose it. The question
> > is:
> > > > > > How do
> > > > > > you spend it?
> > > > > >
> > > > > > John Covici
> > > > > > covici@ccs.covici.com
> > > > > >
> > > > > >
> > > > >
> > > > > ----------------------------------------------------
> > > > > Alternatives:
> > > > >
> > > > > ----------------------------------------------------
> > > >
> > > > --
> > > > Your life is like a penny. You're going to lose it. The question is:
> > > > How do
> > > > you spend it?
> > > >
> > > > John Covici
> > > > covici@ccs.covici.com
> > > >
> > > >
> > >
> > > ----------------------------------------------------
> > > Alternatives:
> > >
> > > ----------------------------------------------------
> >
> > --
> > Your life is like a penny. You're going to lose it. The question is:
> > How do
> > you spend it?
> >
> > John Covici
> > covici@ccs.covici.com
> >
> >
>
> ----------------------------------------------------
> Alternatives:
>
> ----------------------------------------------------
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
next prev parent reply other threads:[~2014-11-10 12:59 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-10 11:04 [gentoo-user] how to upgrade postgresql under gentoo covici
2014-11-10 11:07 ` Vladimir Romanov
2014-11-10 11:21 ` covici
2014-11-10 11:23 ` Vladimir Romanov
2014-11-10 11:36 ` covici
2014-11-10 11:42 ` Vladimir Romanov
2014-11-10 11:47 ` covici
2014-11-10 11:50 ` Vladimir Romanov
2014-11-10 12:59 ` covici [this message]
2014-11-10 13:02 ` Vladimir Romanov
2014-11-10 13:06 ` covici
2014-11-11 7:24 ` J. Roeleveld
2014-11-11 11:26 ` covici
2014-11-11 13:30 ` J. Roeleveld
2014-11-10 13:12 ` Michael Orlitzky
2014-11-10 13:16 ` covici
2014-11-11 6:34 ` Mick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=18342.1415624362@ccs.covici.com \
--to=covici@ccs.covici.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox