public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Vladimir Romanov <blueboar2@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] how to upgrade postgresql under gentoo
Date: Mon, 10 Nov 2014 16:42:23 +0500	[thread overview]
Message-ID: <CAKx5OMZ7jakeR8Ufq_jv+kDCPY6QPsuu6L_8pXEBjaoAP4fCMQ@mail.gmail.com> (raw)
In-Reply-To: <5306.1415619400@ccs.covici.com>

[-- Attachment #1: Type: text/plain, Size: 2561 bytes --]

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
>
>

[-- Attachment #2: Type: text/html, Size: 3961 bytes --]

  reply	other threads:[~2014-11-10 11:42 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 [this message]
2014-11-10 11:47           ` covici
2014-11-10 11:50             ` Vladimir Romanov
2014-11-10 12:59               ` covici
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=CAKx5OMZ7jakeR8Ufq_jv+kDCPY6QPsuu6L_8pXEBjaoAP4fCMQ@mail.gmail.com \
    --to=blueboar2@gmail.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