Received: from localhost (unknown [200.46.204.183]) by developer.postgresql.org (Postfix) with ESMTP id 141D72E0047 for ; Wed, 9 Apr 2008 10:15:36 -0300 (ADT) Received: from developer.postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 78067-02 for ; Wed, 9 Apr 2008 10:15:19 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from main2.mycybernet.net (main2.mycybernet.net [209.222.63.140]) by developer.postgresql.org (Postfix) with ESMTP id 2B9062E0038 for ; Wed, 9 Apr 2008 10:15:20 -0300 (ADT) Received: from 227-54-222-209.mycybernet.net ([209.222.54.227] helo=crankycanuck.ca) by main2.mycybernet.net with esmtp (Exim 4.62) (envelope-from ) id 1Jja8r-0000V8-I9 for pgsql-admin@postgresql.org; Wed, 09 Apr 2008 09:15:09 -0400 Received: by crankycanuck.ca (Postfix, from userid 1000) id 5673350149; Wed, 9 Apr 2008 09:14:48 -0400 (EDT) Date: Wed, 9 Apr 2008 09:14:48 -0400 From: Andrew Sullivan To: pgsql-admin@postgresql.org Subject: Re: pg_dump/pg_restore Message-ID: <20080409131448.GC12469@crankycanuck.ca> Mail-Followup-To: Andrew Sullivan , pgsql-admin@postgresql.org References: <15aa6b3e0804081252x43fb76c3ue8eed3edbeb940c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <15aa6b3e0804081252x43fb76c3ue8eed3edbeb940c9@mail.gmail.com> User-Agent: Mutt/1.5.13 (2006-08-11) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200804/87 X-Sequence-Number: 28851 On Tue, Apr 08, 2008 at 04:52:23PM -0300, Sergio Gabriel Rodriguez wrote: > needs of others which can't be found because the script will generate > them later. How can I make an orderer sql dump??? Use the custom format, use pg_restore to get the catalogue, and then edit that catalogue to re-order the restore.. A