pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Scott Marlowe <smarlowe@g2switchworks.com>
To: Kenneth Gonsalves <lawgon@thenilgiris.com>
Cc: PostgreSQL SQL <pgsql-sql@postgresql.org>
Subject: Re: pg_dump without data
Date: Fri, 06 May 2005 12:59:27 -0500
Message-ID: <1115402367.3868.79.camel@state.g2switchworks.com> (raw)
In-Reply-To: <200505061444.29591.lawgon@thenilgiris.com>
References: <200505061444.29591.lawgon@thenilgiris.com>

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.



view thread (3+ messages)

Message-ID: <1115402367.3868.79.camel@state.g2switchworks.com>
Permalink:  ../1115402367.3868.79.camel@state.g2switchworks.com/
Also on:    postgresql.org/message-id/1115402367.3868.79.camel@state.g2switchworks.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: smarlowe@g2switchworks.com, lawgon@thenilgiris.com
  Subject: Re: pg_dump without data
  In-Reply-To: <1115402367.3868.79.camel@state.g2switchworks.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox