X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 3F39156384 for ; Thu, 3 Mar 2005 18:47:50 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 61183-06 for ; Thu, 3 Mar 2005 18:47:43 +0000 (GMT) Received: from presinet-main.presinet.com (mail.presinet.com [209.53.156.1]) by svr1.postgresql.org (Postfix) with ESMTP id 8759A5638F for ; Thu, 3 Mar 2005 18:47:40 +0000 (GMT) Received: from [10.10.1.151] (BRICK [10.10.1.151]) by presinet-main.presinet.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2658.3) id GFW0ABCL; Thu, 3 Mar 2005 10:45:45 -0800 Message-ID: <42275BCC.1050308@PresiNET.com> Date: Thu, 03 Mar 2005 10:47:40 -0800 From: Bricklen Anderson User-Agent: Debian Thunderbird 1.0 (X11/20050116) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Casey T. Deccio" Cc: pgsql-sql@postgresql.org Subject: Re: Building a database from a flat file References: <1109808921.12430.75.camel@boomerang.ran.sandia.gov> <42272D27.4030900@logix-tt.com> <1109875028.12428.98.camel@boomerang.ran.sandia.gov> In-Reply-To: <1109875028.12428.98.camel@boomerang.ran.sandia.gov> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200503/51 X-Sequence-Number: 20530 Casey T. Deccio wrote: > Question: is there an "easy" way to duplicate an existing schema > (tables, functions, sequences, etc.)--not the data; only the schema? > This way, I would only need to modify one schema (public) to make > changes, and the build schema could be created each time as a duplicate > of the public schema. Maintenance would be much simpler. > check the docs for pg_dump (-s) for doing structural dumps of your schema. -- _______________________________ This e-mail may be privileged and/or confidential, and the sender does not waive any related rights and obligations. Any distribution, use or copying of this e-mail or the information it contains by other than an intended recipient is unauthorized. If you received this e-mail in error, please advise me (by return e-mail or otherwise) immediately. _______________________________