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