pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dawid Kuroczko <qnex42@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: 32-bit to 64-bit migration screwup
Date: Fri, 26 Oct 2007 11:54:13 +0200
Message-ID: <758d5e7f0710260254k53dec39fy32c7501f0ea310f9@mail.gmail.com> (raw)
In-Reply-To: <1193379349.12268.14.camel@laptop.gunduz.org>
References: <d3feac2a0710252252j15334983x8861863f628762bb@mail.gmail.com>
	<1193379349.12268.14.camel@laptop.gunduz.org>

On 10/26/07, Devrim GÜNDÜZ <devrim@commandprompt.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



view thread (4+ messages)

Message-ID: <758d5e7f0710260254k53dec39fy32c7501f0ea310f9@mail.gmail.com>
Permalink:  ../758d5e7f0710260254k53dec39fy32c7501f0ea310f9@mail.gmail.com/
Also on:    postgresql.org/message-id/758d5e7f0710260254k53dec39fy32c7501f0ea310f9@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: qnex42@gmail.com
  Subject: Re: 32-bit to 64-bit migration screwup
  In-Reply-To: <758d5e7f0710260254k53dec39fy32c7501f0ea310f9@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox