Re: db partial dumping with pg_dump - Mailing list pgsql-hackers

From Christopher Kings-Lynne
Subject Re: db partial dumping with pg_dump
Date
Msg-id GNELIHDDFBOCMGBFGEFOAELACDAA.chriskl@familyhealth.com.au
Whole thread Raw
In response to Re: db partial dumping with pg_dump  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: db partial dumping with pg_dump
List pgsql-hackers
> Yeah, I was just about to start working on pg_dump's -t switch.
> It absolutely *must* be made schema-aware for 7.3 (-t schema.table
> doesn't work today) and it seems like we might as well try to allow
> wildcard support.  Another thought I had was to accept multiple -t
> switches, eg "pg_dump -t foo -t bar -t schema.baz*" to dump all tables
> matching any of the patterns.

What about a switch to set schema search path as well?  You could also just
have the tables comma separated in the -t ??

Chris



pgsql-hackers by date:

Previous
From: Curt Sampson
Date:
Subject: Re: OOP real life example (was Re: Why is MySQL more
Next
From: Tom Lane
Date:
Subject: Re: db partial dumping with pg_dump