Re: incorrect checksum in control file - Mailing list pgsql-general

From Tom Lane
Subject Re: incorrect checksum in control file
Date
Msg-id 3499.1373168359@sss.pgh.pa.us
Whole thread Raw
In response to Re: incorrect checksum in control file  (Ian Turner <vectro@vectro.org>)
Responses Re: incorrect checksum in control file
List pgsql-general
Ian Turner <vectro@vectro.org> writes:
> On Thursday, September 09, 2004 11:36:52 PM Tom Lane wrote:
>> "Jeffrey W. Baker" <jwbaker@acm.org> writes:
>>> I moved the database from a 32-bit arch to a 64-bit arch.  All I did was
>>> shutdown a 7.4.1 database, shutdown the machine, swap the storage onto
>>> the 64-bit machine running 7.4.5, and try to restart.  No dice.

>> You're fortunate that it died that quickly, rather than corrupting your
>> data in weird and wonderful ways.  Postgres has never been designed to
>> have architecture-independent data files.

> Any suggestions on how to recover a database from binary files when the
> previous hardware is no longer around?

Install 32-bit Postgres executables.  I'm not aware of any 64-bit
hardware that isn't able to run code built for its 32-bit predecessor.
(You might then wish to dump and reload into a 64-bit installation, but
whether you do or not, that's the next step.)

            regards, tom lane


pgsql-general by date:

Previous
From: Ian Turner
Date:
Subject: Re: incorrect checksum in control file
Next
From: Ian Turner
Date:
Subject: Re: incorrect checksum in control file