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

Re: excluding tables

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Rick <ellis(at)blameitonlove(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: excluding tables
Date: 2008-08-28 15:50:18
Message-ID: 11940.1219938618@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-admin
Rick <ellis(at)blameitonlove(dot)com> writes:
> Is there a way to get pg_dumpall to exclude a table or
> do I have to dump the tables indivually with pg_dump?

No, pg_dumpall doesn't have any provision for passing different
switches for different databases to its invocations of pg_dump.

Recommended practice here would be to combine pg_dumpall -g
with the results of manual per-database invocations of pg_dump.

			regards, tom lane

In response to

pgsql-admin by date

Next:From: Andrew SullivanDate: 2008-08-28 17:47:12
Subject: Re: Dumping/Restoring with constraints?
Previous:From: Alvaro HerreraDate: 2008-08-28 15:45:04
Subject: Re: winsock error 10061 on Vista

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