Re: PiTR and other architectures....

From: Jeff Davis <pgsql(at)j-davis(dot)com>
To: Heikki Linnakangas <heikki(dot)linnakangas(at)enterprisedb(dot)com>
Cc: Philip Warner <pjw(at)rhyme(dot)com(dot)au>, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: PiTR and other architectures....
Date: 2008-12-02 18:07:57
Message-ID: 1228241277.14591.10.camel@dell.linuxdev.us.dell.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 2008-12-02 at 16:21 +0200, Heikki Linnakangas wrote:
> 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.

I don't think these things will work for all differences that could be
problematic. For instance, a GNU system has a different collation for
the en_US locale than an OS X system. This means that the indexes built
using en_US on one system can't be moved to the other.

How would either of these tests be able to determine that the systems
are incompatible?

I don't think this is a problem between GNU and FreeBSD, however, so
this may work in Philip's case.

Regards,
Jeff Davis

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2008-12-02 18:47:19 Re: cvs head initdb hangs on unixware
Previous Message ohp 2008-12-02 17:32:49 Re: cvs head initdb hangs on unixware