Re: 32-bit to 64-bit migration screwup

From: "Dawid Kuroczko" <qnex42(at)gmail(dot)com>
To:
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: 32-bit to 64-bit migration screwup
Date: 2007-10-26 09:54:13
Message-ID: 758d5e7f0710260254k53dec39fy32c7501f0ea310f9@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On 10/26/07, Devrim GÜNDÜZ <devrim(at)commandprompt(dot)com> wrote:
> Hi,
>
> On Thu, 2007-10-25 at 22:52 -0700, David Young wrote:
> > FATAL: incorrect checksum in control file
>
> Did you move the old data files to the new server? If so, it won't work.
> Dump your 32-bit database with 32-bit binaries, and load that data to
> your 64-bit database.

Not necessarily-- you can run old, 32bit environment under 64bit kernel
(if you enabled 32-bit compatibility in kernel). Just run your old environment
in chroot.

I have recently did such a migration (old 32bit system in chroot, pg_dump,
pipe to psql on new system).

Regards,
Dawid

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Teodor Sigaev 2007-10-26 12:53:09 Re: Problem with PITR Past Particular WAL File
Previous Message yogesh 2007-10-26 09:46:17 Re: PL/JAVA installation on Suse Linux