X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id A8480D1B55F for ; Mon, 17 Nov 2003 16:52:18 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 05239-08 for ; Mon, 17 Nov 2003 12:51:47 -0400 (AST) Received: from mail.libertyrms.com (unknown [209.167.124.227]) by svr1.postgresql.org (Postfix) with ESMTP id 6902CD1D882 for ; Mon, 17 Nov 2003 12:51:46 -0400 (AST) Received: from [10.1.2.130] (helo=dba2) by mail.libertyrms.com with esmtp (Exim 3.22 #3 (Debian)) id 1ALmbK-0003p2-00 for ; Mon, 17 Nov 2003 11:51:46 -0500 Received: by dba2 (Postfix, from userid 1019) id 201AECBB8; Mon, 17 Nov 2003 11:51:46 -0500 (EST) Date: Mon, 17 Nov 2003 11:51:46 -0500 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: compare two databases Message-ID: <20031117165145.GS1716@libertyrms.info> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <3FB78506.9080509@net6d.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/312 X-Sequence-Number: 11299 On Sun, Nov 16, 2003 at 09:46:08AM -0500, Yuji Shinozaki wrote: > > Here's a question about that: Do dumps always occur > in a predictable row order? No, at least not between systems. I'm pretty sure that the same system, if left unchanged between them, wil dump the tables in the same order. They key to all this is understanding the implications of lazy vacuum: tuples do not always stay in the same place on the disk. > If it is not the case, then you might need to sort each > table dump before the diff. Yes. -- ---- Andrew Sullivan 204-4141 Yonge Street Afilias Canada Toronto, Ontario Canada M2P 2A8 +1 416 646 3304 x110