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 2453BD1B508 for ; Wed, 29 Oct 2003 17:50:13 +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 67670-06 for ; Wed, 29 Oct 2003 13:49:42 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 092D4D1B588 for ; Wed, 29 Oct 2003 13:49:41 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id h9THnfit015526; Wed, 29 Oct 2003 12:49:41 -0500 (EST) To: Greg Stark Cc: Stef , Rod Taylor , pgsql-admin@postgresql.org, pgsql-sql@postgresql.org Subject: Re: [SQL] Table versions In-reply-to: <87wuaoey4g.fsf@stark.dyndns.tv> References: <20031029125752.35069e3b.svb@ucs.co.za> <1067435458.99917.34.camel@jester> <3731.1067437850@sss.pgh.pa.us> <87wuaoey4g.fsf@stark.dyndns.tv> Comments: In-reply-to Greg Stark message dated "29 Oct 2003 12:45:35 -0500" Date: Wed, 29 Oct 2003 12:49:40 -0500 Message-ID: <15525.1067449780@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200310/358 X-Sequence-Number: 10919 Greg Stark writes: > This still suffers from one major deficiency. The order that objects are > outputed isn't necessarily consistent between databases. If I add tables to > the development server but then add them to the production server in a > different order the schema still shows differences even though the objects in > the two databases are identical. Yeah. Stef may be able to handle this by comparing single-table dumps rather than an overall pg_dump. In the long run pg_dump's logic for ordering objects needs a wholesale rewrite --- maybe that will happen for 7.5. regards, tom lane