Re: dump schema schema only?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: hf99(at)protecting(dot)net
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: dump schema schema only?
Date: 2003-10-30 15:36:43
Message-ID: 28259.1067528203@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Harald Fuchs <nospam(at)sap(dot)com> writes:
> Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> writes:
>> 7.4's pg_dump has an option to dump the contents of just one schema.

> The pg_dump manpage of beta4 does not include this option,

Sure it does:

-n namespace
--schema=schema

Dump the contents of schema only. If this option is not specified,
all non-system schemas in the target database will be dumped.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-10-30 15:38:04 Re: Automatic auditing suggestion
Previous Message Stephan Szabo 2003-10-30 15:34:44 Re: slow query performance