From: Tom Lane <tgl@sss.pgh.pa.us>
To: Olivier Hubaut <olivier@scmbb.ulb.ac.be>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Data directory transfert fails between PPC and x86
Date: Tue, 21 Sep 2004 10:13:05 -0400
Message-ID: <507.1095775985@sss.pgh.pa.us> (raw)
In-Reply-To: <opseofh7a094ope3@olivier.amaze.ulb.ac.be>
References: <opseofh7a094ope3@olivier.amaze.ulb.ac.be>
"Olivier Hubaut" <olivier@scmbb.ulb.ac.be> writes:
> I used to make synchrnoistation between data directories with Rsync cause
> it's faster when synchronizing offline database than making a dump.
This has never been considered a supported technique. You can usually
get away with it if the source and destination machines are *exactly*
alike ... but if it breaks, you get to keep both pieces.
> It works really nice between all the PowerPC we used, but it doesn't work
> on x86 server (the postmaster refuses to start because the
> PG_CONTROL_VERSION is completly different). I think that the problem come
> from the endianess of the data structure.
Quite. In general the data files are platform-specific.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: tgl@sss.pgh.pa.us, olivier@scmbb.ulb.ac.be
Subject: Re: Data directory transfert fails between PPC and x86
In-Reply-To: <507.1095775985@sss.pgh.pa.us>
References: <opseofh7a094ope3@olivier.amaze.ulb.ac.be> <507.1095775985@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox