Re: [PATCHES] Patch for pg_dump: Multiple -t options and new -T option

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "David F(dot) Skoll" <dfs(at)roaringpenguin(dot)com>, Christopher Kings-Lynne <chriskl(at)familyhealth(dot)com(dot)au>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [PATCHES] Patch for pg_dump: Multiple -t options and new -T option
Date: 2004-08-02 19:15:43
Message-ID: 200408021915.i72JFhK22172@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches


Is anyone working on this patch?

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

Tom Lane wrote:
> "David F. Skoll" <dfs(at)roaringpenguin(dot)com> writes:
> > On Wed, 21 Jul 2004, Tom Lane wrote:
> >> pg_dump -t s1.t1 -t s2.t2 -- Dump s1.t1 and s2.t2
>
> > That's a good idea, but then it's questionable whether we need the -n
> > switch at all.
>
> Sure we do --- for backwards compatibility if nothing else.
>
> > It might be simpler to extend the -t switch to accept:
> > pg-dump -t 's1.*'
>
> That would not be the same thing --- that would mean to dump *only tables*
> from s1, rather than objects of all types. Anyway, I think it's a bit
> late in this cycle to be proposing to implement wild-card matching.
> Maybe for next time someone can do that, but for 7.5 I think we should
> limit ourselves to cleaning up any design flaws of the already-submitted
> patch.
>
> regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>

--
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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2004-08-02 19:34:14 Re: [PATCHES] Patch for pg_dump: Multiple -t options and new -T option
Previous Message Josh Berkus 2004-08-02 17:42:04 Re: Support for persistant objects in PostgreSQL?

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-08-02 19:34:14 Re: [PATCHES] Patch for pg_dump: Multiple -t options and new -T option
Previous Message Bruce Momjian 2004-08-02 19:14:29 Re: win32 readline