Received: from localhost (maia-1.hub.org [200.46.204.191]) by postgresql.org (Postfix) with ESMTP id 1A98F9FB20E; Wed, 8 Aug 2007 17:24:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.191]) (amavisd-maia, port 10024) with ESMTP id 34093-05; Wed, 8 Aug 2007 17:24:32 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from mtao01.charter.net (mtao01.charter.net [209.225.8.186]) by postgresql.org (Postfix) with ESMTP id 177219FBDDF; Wed, 8 Aug 2007 17:24:31 -0300 (ADT) Received: from aa02.charter.net ([10.20.200.154]) by mtao01.charter.net (InterMail vM.7.08.02.00 201-2186-121-20061213) with ESMTP id <20070808202426.RMGG21147.mtao01.charter.net@aa02.charter.net>; Wed, 8 Aug 2007 16:24:26 -0400 Received: from [10.0.1.3] (really [66.188.165.91]) by aa02.charter.net with ESMTP id <20070808202426.SNFA26124.aa02.charter.net@[10.0.1.3]>; Wed, 8 Aug 2007 16:24:26 -0400 In-Reply-To: <46BA16F8.8020503@encs.concordia.ca> References: <46BA16F8.8020503@encs.concordia.ca> Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: pgsql-jdbc@postgresql.org, pgsql general list Content-Transfer-Encoding: 7bit From: Michael Glaesemann Subject: Re: Dump all objects under a specific schema Date: Wed, 8 Aug 2007 15:24:25 -0500 To: emilu@encs.concordia.ca X-Mailer: Apple Mail (2.752.2) X-Chzlrs: 0 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200708/423 X-Sequence-Number: 118272 On Aug 8, 2007, at 14:18 , Emi Lu wrote: > Is there a way that I can only dump all objects under a specific > schema? Have you checked the pg_dump documentation? http://www.postgresql.org/docs/8.2/interactive/app-pgdump.html In particular, the -n flag might interest you. Michael Glaesemann grzm seespotcode net