Re: incorrect checksum in control file

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Ian Turner <vectro(at)vectro(dot)org>
Cc: "Jeffrey W(dot) Baker" <jwbaker(at)acm(dot)org>, pgsql-general(at)postgresql(dot)org
Subject: Re: incorrect checksum in control file
Date: 2013-07-07 03:39:19
Message-ID: 3499.1373168359@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Ian Turner <vectro(at)vectro(dot)org> writes:
> On Thursday, September 09, 2004 11:36:52 PM Tom Lane wrote:
>> "Jeffrey W. Baker" <jwbaker(at)acm(dot)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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Ian Turner 2013-07-07 04:14:46 Re: incorrect checksum in control file
Previous Message Ian Turner 2013-07-07 03:35:08 Re: incorrect checksum in control file