Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group