Re: Patch for pg_dump: Multiple -t options and new -T option - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: Patch for pg_dump: Multiple -t options and new -T option
Date
Msg-id 200407200355.i6K3thY15628@candle.pha.pa.us
Whole thread Raw
In response to Patch for pg_dump: Multiple -t options and new -T option  ("David F. Skoll" <dfs@roaringpenguin.com>)
Responses Re: Patch for pg_dump: Multiple -t options and new -T option  (Christopher Kings-Lynne <chriskl@familyhealth.com.au>)
List pgsql-patches
I see one vote in favor of its inclusion on the grounds it is a bug not
to support multiple -t parameters.  However, is someone objects I will
have to hold it for 7.6.  It needs SGML doc additions which I will do
myself.

Your patch has been added to the PostgreSQL unapplied patches list at:

    http://momjian.postgresql.org/cgi-bin/pgpatches

It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.

---------------------------------------------------------------------------


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@roaringpenguin.com>    Roaring Penguin Software Inc.
> +1 (613) 231-6599 ext. 100                 http://www.roaringpenguin.com/
> For CanIt technical support, please mail: support@roaringpenguin.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@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Patch for pg_dump: Multiple -t options and new -T option
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: Patch for pg_dump: Multiple -t options and new -T option