Re: Dump all except some tables?

From: "A(dot) Kretschmer" <akretschmer(at)despammed(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Dump all except some tables?
Date: 2005-10-06 13:02:48
Message-ID: 20051006130248.GK4329@webserv.wug-glas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

am 06.10.2005, um 15:29:50 +0300 mailte WireSpot folgendes:
> > > The only related option for both pg_dump and pg_restore is --table, which
> > > only takes 1 (one) table name. If only it accepted more than one I could've
> > > found a workaround.
> >
> > You can use the -t more than once.
> >
> > pg_dump -U foobar database -t foo -t foo1
>
> Yes, pg_dump doesn't complain. But it only takes the first one into
> consideration. I only get one table in the dump.

Oops, sorry.

Regards, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47212, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas F. O'Connell 2005-10-06 13:08:48 Re: How to uninstall Postgres
Previous Message Chris Browne 2005-10-06 12:57:11 Re: PostgreSQL 8.1 vs. MySQL 5.0?