X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 5AAC1329EBE for ; Tue, 21 Sep 2004 15:13:14 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 34678-03 for ; Tue, 21 Sep 2004 14:13:01 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 36D5B329EB8 for ; Tue, 21 Sep 2004 15:13:04 +0100 (BST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id i8LED5mM000508; Tue, 21 Sep 2004 10:13:05 -0400 (EDT) To: "Olivier Hubaut" Cc: "pgsql-admin@postgresql.org" Subject: Re: Data directory transfert fails between PPC and x86 In-reply-to: References: Comments: In-reply-to "Olivier Hubaut" message dated "Tue, 21 Sep 2004 14:26:21 +0300" Date: Tue, 21 Sep 2004 10:13:05 -0400 Message-ID: <507.1095775985@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200409/193 X-Sequence-Number: 14896 "Olivier Hubaut" 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