dbTalk Databases Forums  

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

comp.databases.postgresql.patches comp.databases.postgresql.patches


Discuss Re: Patch for pg_dump: Multiple -t options and new -T option in the comp.databases.postgresql.patches forum.



Reply
 
Thread Tools Display Modes
  #21  
Old   
Bruce Momjian
 
Posts: n/a

Default Re: Patch for pg_dump: Multiple -t options and new -T option - 08-02-2004 , 08:09 PM







This has been saved for the 7.6 release:

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

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

Tom Lane wrote:
Quote:
"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.pa.us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.