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 EA345534FF for ; Fri, 6 May 2005 14:59:36 -0300 (ADT) 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 53146-05 for ; Fri, 6 May 2005 17:59:35 +0000 (GMT) Received: from koolancexeon.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by svr1.postgresql.org (Postfix) with ESMTP id AB44353518 for ; Fri, 6 May 2005 14:59:28 -0300 (ADT) Received: mail.g2switchworks.com 10.10.1.8 from 10.10.1.37 10.10.1.37 via HTTP with MS-WebStorage 6.5.6944 Received: from state.g2switchworks.com by mail.g2switchworks.com; 06 May 2005 12:59:27 -0500 Subject: Re: pg_dump without data From: Scott Marlowe To: Kenneth Gonsalves Cc: PostgreSQL SQL In-Reply-To: <200505061444.29591.lawgon@thenilgiris.com> References: <200505061444.29591.lawgon@thenilgiris.com> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1115402367.3868.79.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Fri, 06 May 2005 12:59:27 -0500 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.007 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200505/55 X-Sequence-Number: 21368 On Fri, 2005-05-06 at 04:14, Kenneth Gonsalves wrote: > how do i get a dump of a postgresql database without the data? pg_dump -s for the schema pg_dumpall -g for the globals, like usernames and all.