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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-admin by date

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