Re: Problems with pg_dump and -t wildcards

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Bill Thoen <bthoen(at)gisnet(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Problems with pg_dump and -t wildcards
Date: 2008-07-25 19:08:43
Message-ID: 29246.1217012923@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Joshua D. Drake" <jd(at)commandprompt(dot)com> writes:
> On Fri, 2008-07-25 at 11:36 -0600, Bill Thoen wrote:
>> I'm having some problems with pg_dump and the -t switch. I can't get it
>> to work using wildcards nor with multiple -t switches. I'm using
>> PostgreSQL 8.1.5 and trying to dump just a table and its associated
>> sequence.

> That is because it doesn't work like that. IIRC you can dump exactly one
> table with the -t switch.

-t does take a wildcard pattern ... in 8.2 and later. I don't believe
8.1 handled more than one -t switch, either.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Andrew Sullivan 2008-07-25 19:21:33 Re: Problems with pg_dump and -t wildcards
Previous Message Tino Wildenhain 2008-07-25 19:08:30 Re: php + postgresql