Re: is possible to upgrade from 9.2 to 9.4 with pg_upgrade
От | Pavel Stehule |
---|---|
Тема | Re: is possible to upgrade from 9.2 to 9.4 with pg_upgrade |
Дата | |
Msg-id | CAFj8pRAw4VeDGF9W=4ZwrMpUkmgktPv4H0RUUp_jX=tz-pBqdA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: is possible to upgrade from 9.2 to 9.4 with pg_upgrade (Jeff Janes <jeff.janes@gmail.com>) |
Список | pgsql-hackers |
2015-05-06 19:40 GMT+02:00 Jeff Janes <jeff.janes@gmail.com>:
su postgres -c "cd /mnt/ebs/pgsql/upgrade_data; pg_upgrade -b /usr/lib64/pgsql/postgresql-9.2/bin -B /usr/bin/ -d /mnt/ebs/pgsql/data -D /mnt/ebs/pgsql/data94 -k"
On Wed, May 6, 2015 at 10:26 AM, Jeff Janes <jeff.janes@gmail.com> wrote:On Wed, May 6, 2015 at 6:16 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:2015-05-06 15:15 GMT+02:00 Alvaro Herrera <alvherre@2ndquadrant.com>:Uh, this is certainly supposed to work. Maybe pg_controldata orPavel 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
>
> ?
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.1I'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?
I am calling pg_upgrade via command
su postgres -c "cd /mnt/ebs/pgsql/upgrade_data; pg_upgrade -b /usr/lib64/pgsql/postgresql-9.2/bin -B /usr/bin/ -d /mnt/ebs/pgsql/data -D /mnt/ebs/pgsql/data94 -k"
It is based on customized RHEL packages
Cheers,Jeff
В списке pgsql-hackers по дате отправления: