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

Re: dump schema schema only?

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: hf99(at)protecting(dot)net, pgsql-general(at)postgresql(dot)org
Subject: Re: dump schema schema only?
Date: 2003-10-30 18:14:44
Message-ID: 200310301814.h9UIEiC19835@candle.pha.pa.us (view raw or flat)
Thread:
Lists: pgsql-general
Tom Lane wrote:
> 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. 

I thought he was complaining because our 'man' output wasn't updated for
7.4.  I just checked beta5's man.tar.gz, and it has the 7.3 contents,
and doesn't mention -n/--schema.  I have added to our open items list:

	Update manual pages.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman(at)candle(dot)pha(dot)pa(dot)us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

In response to

pgsql-general by date

Next:From: Josh BerkusDate: 2003-10-30 18:26:05
Subject: Need Italian Help!
Previous:From: Jan WieckDate: 2003-10-30 17:37:02
Subject: Re: Sending email from PL/pgsql

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