Re: is possible to upgrade from 9.2 to 9.4 with pg_upgrade

From: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: is possible to upgrade from 9.2 to 9.4 with pg_upgrade
Date: 2015-05-06 17:40:35
Message-ID: CAMkU=1xM+yC+1tuBjLVOQVoDwBK1GQYtz9+TAKDeCTdjve4L7w@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, May 6, 2015 at 10:26 AM, Jeff Janes <jeff(dot)janes(at)gmail(dot)com> wrote:

> On Wed, May 6, 2015 at 6:16 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> wrote:
>
>>
>>
>> 2015-05-06 15:15 GMT+02:00 Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>:
>>
>>> Pavel Stehule wrote:
>>> > Hi
>>> >
>>> > I am working on preparation the migration from 9.2 to 9.4
>>> >
>>> > pg_upgrade fails
>>> >
>>> > pg_upgrade -b /usr/lib64/pgsql/postgresql-9.2/bin -B /usr/bin/ -d
>>> > /mnt/ebs/pgsql/data -D /mnt/ebs/pgsql/data94 -k'
>>> > Performing Consistency Checks
>>> > -----------------------------
>>> > Checking cluster versions ok
>>> > The old cluster lacks some required control information:
>>> > latest checkpoint oldest MultiXactId
>>> >
>>> > ?
>>>
>>> Uh, this is certainly supposed to work. Maybe pg_controldata or
>>> pg_resetxlog changed output format and pg_upgrade doesn't know how to
>>> read it.
>>>
>>
>> It is tested on fresh 9.2.10 to 9.4.1
>>
>
> I've done that migration many times. Can you give the pg_config output
> for both installations, and the pg_controldata output for the 9.2.10?
>

Also, what is the full path to pg_upgrade?

Cheers,

Jeff

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2015-05-06 17:56:26 Re: Disabling trust/ident authentication configure option
Previous Message Jeff Janes 2015-05-06 17:26:56 Re: is possible to upgrade from 9.2 to 9.4 with pg_upgrade