pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
excluding tables
2+ messages / 2 participants
[nested] [flat]

* excluding tables
@ 2008-08-27 23:52 Rick <ellis@blameitonlove.com>
  2008-08-28 15:50 ` Re: excluding tables Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 2+ messages in thread

From: Rick @ 2008-08-27 23:52 UTC (permalink / raw)
  To: pgsql-admin

Is there a way to get pg_dumpall to exclude a table or
do I have to dump the tables indivually with pg_dump? I have
one very large table that never changes and it'd be nice
not to have a copy of it in every backup (especially since
the backups get sent to another machine over the Internet).




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: excluding tables
  2008-08-27 23:52 excluding tables Rick <ellis@blameitonlove.com>
@ 2008-08-28 15:50 ` Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2008-08-28 15:50 UTC (permalink / raw)
  To: Rick <ellis@blameitonlove.com>; +Cc: pgsql-admin

Rick <ellis@blameitonlove.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



^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2008-08-28 15:50 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2008-08-27 23:52 excluding tables Rick <ellis@blameitonlove.com>
2008-08-28 15:50 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox