Re: [PATCHES] New pg_dump options: exclude tables/schemas, multiple all, wildcards

2006-01-17 Thread Tom Lane
Greg Sabino Mullane [EMAIL PROTECTED] writes: 2) It would be a lot more work to send it to the backend or import some of the regex code. Importing regex code into pg_dump certainly sounds like a loser. However, it doesn't seem to me that it'd be that hard to issue commands like select

Re: [PATCHES] New pg_dump options: exclude tables/schemas, multiple all, wildcards

2006-01-17 Thread Tom Lane
Greg Sabino Mullane [EMAIL PROTECTED] writes: Plus, while the underscore is common in namespace names, a period is not. That's a good point ... there might actually be less risk of collision with existing habits if we go with regex instead of LIKE conventions for the patterns. Even though

Re: [PATCHES] New pg_dump options: exclude tables/schemas, multiple all, wildcards

2006-01-16 Thread Alvaro Herrera
Greg Sabino Mullane wrote: Attached is a patch to hopefully make pg_dump a lot more useful. I started out by making it simply able to avoid dumping a single table, but, inspired by David Fetter's patch last November, also added in support for multiple items and limited wildcard matching. I

[PATCHES] New pg_dump options: exclude tables/schemas, multiple all, wildcards

2006-01-15 Thread Greg Sabino Mullane
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 NotDashEscaped: You need GnuPG to verify this message Attached is a patch to hopefully make pg_dump a lot more useful. I started out by making it simply able to avoid dumping a single table, but, inspired by David Fetter's patch last November, also