Re: Problems with pg_dump and -t wildcards - Mailing list pgsql-general

From Tom Lane
Subject Re: Problems with pg_dump and -t wildcards
Date
Msg-id 29246.1217012923@sss.pgh.pa.us
Whole thread Raw
In response to Re: Problems with pg_dump and -t wildcards  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Problems with pg_dump and -t wildcards
List pgsql-general
"Joshua D. Drake" <jd@commandprompt.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

pgsql-general by date:

Previous
From: Tino Wildenhain
Date:
Subject: Re: php + postgresql
Next
From: Andrew Sullivan
Date:
Subject: Re: Problems with pg_dump and -t wildcards