Re: PiTR and other architectures.... - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: PiTR and other architectures....
Date
Msg-id 49354455.3060403@enterprisedb.com
Whole thread Raw
In response to PiTR and other architectures....  (Philip Warner <pjw@rhyme.com.au>)
Responses Re: PiTR and other architectures....
Re: PiTR and other architectures....
List pgsql-hackers
Philip Warner wrote:
> Having just tried to restore a 64 bit BSD database to a 32 bit linux
> machine (using PiTR), I have now realized the (with hindsight, obvious)
> error in my ways.
> 
> Now, I need to plan a way forward. From reading of other peoples similar
> problems, I now realize that I need a system with identical on-disk
> formats. Question is:
> 
> Is there a simple way to determine compatibility? (eg. a small
> well-defined list of requirements)

initdb on one platform, copy the data directory over to the other 
system, and try to start postmaster. It will complain if the on-disk 
format is not compatible.

You can also run pg_controlinfo on both systems, and compare the 
results. If the "Maximum data alignment", and all the values below it in 
the pg_controlinfo output match, the formats are compatible.

--   Heikki Linnakangas  EnterpriseDB   http://www.enterprisedb.com


pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: [BUG] lo_open() makes a warning/falls to an assertion
Next
From: Greg Stark
Date:
Subject: Re: maintenance memory vs autovac