From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | "David F(dot) Skoll" <dfs(at)roaringpenguin(dot)com> |
Cc: | pgsql-patches(at)postgresql(dot)org |
Subject: | Re: Patch for pg_dump: Multiple -t options and new -T option |
Date: | 2004-07-20 03:50:49 |
Message-ID: | 200407200350.i6K3onK14237@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers pgsql-patches |
Does anyone have opinions on including this in 7.5? I see it first
appeared on July 6, six days after feature freeze.
---------------------------------------------------------------------------
David F. Skoll wrote:
> Attached is a patch against pg_dump version 7.4.3 that permits
> multiple "-t" switches so that you can select more than one table (but
> less than all) to dump.
>
> It also adds a "-T" switch (long name "--exclude-table") that says
> *not* to dump a specific table. So:
>
> pg_dump -t table1 -t table2 db
>
> will dump table1 and table2 only, whereas:
>
> pg_dump -T table1 -T table2 db
>
> will dump all the tables *except* table1 and table2.
>
> Tested briefly on my system; doesn't seem to break anything.
>
> Regards,
>
> David.
>
> --
> David F. Skoll <dfs(at)roaringpenguin(dot)com> Roaring Penguin Software Inc.
> +1 (613) 231-6599 ext. 100 http://www.roaringpenguin.com/
> For CanIt technical support, please mail: support(at)roaringpenguin(dot)com
Content-Description:
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-07-20 03:54:02 | Re: patch for allowing multiple -t options to pg_dump |
Previous Message | Christopher Kings-Lynne | 2004-07-20 03:37:07 | Re: Point in Time Recovery |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2004-07-20 03:55:43 | Re: Patch for pg_dump: Multiple -t options and new -T option |
Previous Message | Bruce Momjian | 2004-07-20 03:49:07 | Re: Show tablespace name in pg_tables and pg_indexes |