Re: pg_dump without data - Mailing list pgsql-sql

From Philip Hallstrom
Subject Re: pg_dump without data
Date
Msg-id 20050506105546.U40081@wolf.pjkh.com
Whole thread Raw
In response to pg_dump without data  (Kenneth Gonsalves <lawgon@thenilgiris.com>)
List pgsql-sql
> how do i get a dump of a postgresql database without the data?

% pg_dump --help
pg_dump dumps a database as a text file or to other formats.

Usage:  pg_dump [OPTION]... [DBNAME]

.....
  -s, --schema-only        dump only the schema, no data

....

-philip


pgsql-sql by date:

Previous
From: Kenneth Gonsalves
Date:
Subject: pg_dump without data
Next
From: Scott Marlowe
Date:
Subject: Re: pg_dump without data