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 406DBD1B507 for ; Sun, 16 Nov 2003 14:13:40 +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 53171-02 for ; Sun, 16 Nov 2003 10:13:12 -0400 (AST) Received: from phpnet.org (195-137-249-122.ovanet.net [195.137.249.122]) by svr1.postgresql.org (Postfix) with SMTP id 5B577D1E19F for ; Sun, 16 Nov 2003 10:12:52 -0400 (AST) Received: (qmail 9693 invoked by uid 502); 16 Nov 2003 14:12:38 -0000 Received: from unknown (HELO moissac.leveque.fr) (81.56.193.138) by 10.0.0.2 with SMTP; 16 Nov 2003 14:12:38 -0000 Received: from net6d.com (IDENT:100@moissac.leveque.fr [192.168.150.177]) by moissac.leveque.fr (8.12.8/8.12.9/Bruno LEVEQUE - 31/08/2003) with ESMTP id hAGE9AaL030447; Sun, 16 Nov 2003 15:09:10 +0100 Message-ID: <3FB78506.9080509@net6d.com> Date: Sun, 16 Nov 2003 15:09:10 +0100 From: Bruno LEVEQUE User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5b) Gecko/20030827 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ashok Chauhan Cc: pgsql-admin@postgresql.org Subject: Re: compare two databases References: <1068988448.2110.5.camel@chi> In-Reply-To: <1068988448.2110.5.camel@chi> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/300 X-Sequence-Number: 11287 Maybe you can use : pg_dump -s -t Thetable firstdatabasename > first pg_dump -s -t Thetable seconddatabasename > second diff first second Bruno Ashok Chauhan wrote: >there is any utility or command for compare two databases, >tables structure (schema). > > > >---------------------------(end of broadcast)--------------------------- >TIP 2: you can get off all lists at once with the unregister command > (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) > > > -- Bruno LEVEQUE System Engineer SARL NET6D bruno.leveque@net6d.com http://www.net6d.com